at 23.11-beta 50 lines 869 B view raw
1{ buildPythonApplication 2, click 3, fetchPypi 4, hypothesis 5, lib 6, poetry-core 7, pytest 8, pytestCheckHook 9, stringcase 10}: 11 12buildPythonApplication rec { 13 pname = "zfs_replicate"; 14 version = "3.1.4"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-mRINo20/uFlWtP5W7w+D2E9o89hlAsqZmBjuv0qWP9k="; 20 }; 21 22 postPatch = '' 23 sed -i pyproject.toml -e '/--cov[^"]*/d' 24 ''; 25 26 nativeBuildInputs = [ 27 poetry-core 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 hypothesis 33 pytest 34 ]; 35 36 propagatedBuildInputs = [ 37 click 38 stringcase 39 ]; 40 41 # Current releases do not include tests. 42 doCheck = false; 43 44 meta = with lib; { 45 homepage = "https://github.com/alunduil/zfs-replicate"; 46 description = "ZFS Snapshot Replication"; 47 license = licenses.bsd2; 48 maintainers = with maintainers; [ alunduil ]; 49 }; 50}