nixpkgs/pkgs/tools/backup/pyznap/default.nix
2019-10-14 09:28:41 -07:00

29 lines
593 B
Nix

{ lib
, buildPythonApplication
, fetchPypi
, setuptools
}:
buildPythonApplication rec {
pname = "pyznap";
version = "1.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "00xpw6rmkq5cfjfw23mv0917wfzvb5zxj420p6yh0rnl3swh7gi8";
};
propagatedBuildInputs = [
setuptools
];
# 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 ];
};
}