30 lines
593 B
Nix
Raw Normal View History

2019-02-06 18:29:59 -05:00
{ lib
, buildPythonApplication
, fetchPypi
2019-10-13 18:53:29 -04:00
, setuptools
2019-02-06 18:29:59 -05:00
}:
buildPythonApplication rec {
pname = "pyznap";
2020-03-18 10:46:36 +00:00
version = "1.5.0";
2019-02-06 18:29:59 -05:00
src = fetchPypi {
inherit pname version;
2020-03-18 10:46:36 +00:00
sha256 = "0s8glb6kbwwha6zgzfrf195r1qkrv1a9wagyhhm3kryv7c88mqnp";
2019-02-06 18:29:59 -05:00
};
2019-10-13 18:53:29 -04:00
propagatedBuildInputs = [
setuptools
];
2019-02-06 18:29:59 -05:00
# tests aren't included in the PyPI packages
doCheck = false;
meta = {
homepage = "https://github.com/yboetz/pyznap";
description = "ZFS snapshot tool written in python";
license = with lib.licenses; [ gpl3 ];
maintainers = with lib.maintainers; [ rbrewer ];
};
}