zfs-replicate: init at 1.1.11

Used by zfs.autoReplication module.
This commit is contained in:
Alex Brandt 2019-07-21 08:29:39 -07:00
parent 2e7355ff13
commit 29bdb1c672
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ buildPythonApplication, click, fetchPypi, hypothesis, mypy, pytest
, pytestcov, pytestrunner, stdenv, stringcase
}:
buildPythonApplication rec {
pname = "zfs-replicate";
version = "1.1.11";
src = fetchPypi {
inherit pname version;
sha256 = "0386xc6rw6bhzw2a08g90afb3snqhm1ikx65bjfh22ha69fwmga8";
};
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 ];
};
}

View file

@ -24563,4 +24563,6 @@ in
dapper = callPackage ../development/tools/dapper { };
kube3d = callPackage ../applications/networking/cluster/kube3d {};
zfs-replicate = python3Packages.callPackage ../tools/backup/zfs-replicate { };
}