2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonApplication, click, fetchPypi, hypothesis, mypy, pytest
|
2021-02-05 17:12:51 +00:00
|
|
|
, pytestcov, pytestrunner, lib, stringcase
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "zfs-replicate";
|
2020-10-27 00:29:36 +00:00
|
|
|
version = "1.2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-27 00:29:36 +00:00
|
|
|
sha256 = "b2cb9d4670a6e12d14a446c10d857862e91af6e4526f607e08b41bde89953bb8";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
hypothesis
|
|
|
|
mypy
|
|
|
|
pytest
|
|
|
|
pytestcov
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pytestrunner
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
stringcase
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest --doctest-modules
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/alunduil/zfs-replicate";
|
|
|
|
description = "ZFS Snapshot Replication";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ alunduil ];
|
|
|
|
};
|
|
|
|
}
|