2019-02-06 23:29:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
2019-10-13 23:53:29 +01:00
|
|
|
, setuptools
|
2019-02-06 23:29:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "pyznap";
|
2020-09-26 11:03:00 +01:00
|
|
|
version = "1.6.0";
|
2019-02-06 23:29:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-26 11:03:00 +01:00
|
|
|
sha256 = "88bf1d6de2c11f14acbdfa01b61eb95c94f95d829ddebdaee3786b64ccb93ae3";
|
2019-02-06 23:29:59 +00:00
|
|
|
};
|
|
|
|
|
2019-10-13 23:53:29 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
setuptools
|
2020-09-26 11:03:00 +01:00
|
|
|
];
|
2019-10-13 23:53:29 +01:00
|
|
|
|
2019-02-06 23:29:59 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|