Files
nixpkgs/pkgs/development/python-modules/liblzfse/default.nix

34 lines
589 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
lzfse,
}:
buildPythonPackage rec {
pname = "pyliblzfse";
version = "0.4.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-uwuJmzgwwC/fPb3kjqWWEYM/Nm/vg25cMs+BRRNLfT0=";
};
preBuild = ''
rm -r lzfse
ln -s ${lzfse.src} lzfse
'';
# no tests
doCheck = false;
pythonImportsCheck = [ "liblzfse" ];
meta = {
description = "Python bindings for LZFSE";
homepage = "https://github.com/ydkhatri/pyliblzfse";
license = lib.licenses.mit;
maintainers = [ ];
};
}