2019-07-21 17:29:39 +02:00
|
|
|
{ buildPythonApplication, click, fetchPypi, hypothesis, mypy, pytest
|
|
|
|
, pytestcov, pytestrunner, stdenv, stringcase
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "zfs-replicate";
|
2020-01-17 13:44:07 +01:00
|
|
|
version = "1.1.14";
|
2019-07-21 17:29:39 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-01-17 13:44:07 +01:00
|
|
|
sha256 = "0iqyk6q112ylcqrhrgvgbgqqvaikhwk0sb5kc7kg2wwqdc9rfwys";
|
2019-07-21 17:29:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
hypothesis
|
|
|
|
mypy
|
|
|
|
pytest
|
|
|
|
pytestcov
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pytestrunner
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
stringcase
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest --doctest-modules
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/alunduil/zfs-replicate";
|
2019-07-21 17:29:39 +02:00
|
|
|
description = "ZFS Snapshot Replication";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ alunduil ];
|
|
|
|
};
|
|
|
|
}
|