git.iko.soy/typeable/nixpkgs
on master help sign in
zfs-replicate: init at 1.1.11

Used by zfs.autoReplication module.

commit29bdb1c67253054982448f6c4e8bc3d5c5ee3c8a authorAlex Brandt <alunduil@gmail.com> dateSun 21 Jul 2019, 08:29 (7 years ago) parent2e7355f
2 files changed+44
pkgs/tools/backup/zfs-replicate/default.nix+42 pkgs/top-level/all-packages.nix+2
pkgs/tools/backup/zfs-replicate/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ buildPythonApplication, click, fetchPypi, hypothesis, mypy, pytest
2+, pytestcov, pytestrunner, stdenv, stringcase
3+}:
4+
5+buildPythonApplication rec {
6+ pname = "zfs-replicate";
7+ version = "1.1.11";
8+
9+ src = fetchPypi {
10+ inherit pname version;
11+ sha256 = "0386xc6rw6bhzw2a08g90afb3snqhm1ikx65bjfh22ha69fwmga8";
12+ };
13+
14+ checkInputs = [
15+ hypothesis
16+ mypy
17+ pytest
18+ pytestcov
19+ ];
20+
21+ buildInputs = [
22+ pytestrunner
23+ ];
24+
25+ propagatedBuildInputs = [
26+ click
27+ stringcase
28+ ];
29+
30+ doCheck = true;
31+
32+ checkPhase = ''
33+ pytest --doctest-modules
34+ '';
35+
36+ meta = with stdenv.lib; {
37+ homepage = https://github.com/alunduil/zfs-replicate;
38+ description = "ZFS Snapshot Replication";
39+ license = licenses.bsd2;
40+ maintainers = with maintainers; [ alunduil ];
41+ };
42+}
pkgs/top-level/all-packages.nix+2
@@ -24563,4 +24563,6 @@ in
2456324563 dapper = callPackage ../development/tools/dapper { };
2456424564
2456524565 kube3d = callPackage ../applications/networking/cluster/kube3d {};
24566+
24567+ zfs-replicate = python3Packages.callPackage ../tools/backup/zfs-replicate { };
2456624568}