mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
29bdb1c672
Used by zfs.autoReplication module.
42 lines
784 B
Nix
42 lines
784 B
Nix
{ 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 ];
|
|
};
|
|
}
|