8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
42 lines
786 B
Nix
42 lines
786 B
Nix
{ buildPythonApplication, click, fetchPypi, hypothesis, mypy, pytest
|
|
, pytestcov, pytestrunner, stdenv, stringcase
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "zfs-replicate";
|
|
version = "1.1.14";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0iqyk6q112ylcqrhrgvgbgqqvaikhwk0sb5kc7kg2wwqdc9rfwys";
|
|
};
|
|
|
|
checkInputs = [
|
|
hypothesis
|
|
mypy
|
|
pytest
|
|
pytestcov
|
|
];
|
|
|
|
buildInputs = [
|
|
pytestrunner
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
stringcase
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = ''
|
|
pytest --doctest-modules
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/alunduil/zfs-replicate";
|
|
description = "ZFS Snapshot Replication";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ alunduil ];
|
|
};
|
|
}
|