Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 662 B view raw
1{ 2 lib, 3 buildPythonApplication, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonApplication rec { 9 pname = "pyznap"; 10 version = "1.6.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "88bf1d6de2c11f14acbdfa01b61eb95c94f95d829ddebdaee3786b64ccb93ae3"; 16 }; 17 18 propagatedBuildInputs = [ 19 setuptools 20 ]; 21 22 # tests aren't included in the PyPI packages 23 doCheck = false; 24 25 meta = { 26 homepage = "https://github.com/yboetz/pyznap"; 27 description = "ZFS snapshot tool written in python"; 28 mainProgram = "pyznap"; 29 license = with lib.licenses; [ gpl3 ]; 30 maintainers = with lib.maintainers; [ rbrewer ]; 31 }; 32}