nixpkgs-suyu/pkgs/tools/backup/pyznap/default.nix

25 lines
529 B
Nix
Raw Normal View History

2019-02-07 00:29:59 +01:00
{ lib
, buildPythonApplication
, fetchPypi
}:
buildPythonApplication rec {
pname = "pyznap";
version = "1.2.1";
2019-02-07 00:29:59 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0pnngr4zdxkf6b570ikzvkrm3a8fr47w6crjaw7ln094qkniywvj";
2019-02-07 00:29:59 +01:00
};
# tests aren't included in the PyPI packages
doCheck = false;
meta = {
homepage = "https://github.com/yboetz/pyznap";
description = "ZFS snapshot tool written in python";
license = with lib.licenses; [ gpl3 ];
maintainers = with lib.maintainers; [ rbrewer ];
};
}