1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
nixpkgs/pkgs/tools/backup/pyznap/default.nix

30 lines
593 B
Nix
Raw Normal View History

2019-02-06 23:29:59 +00:00
{ lib
, buildPythonApplication
, fetchPypi
2019-10-13 23:53:29 +01:00
, setuptools
2019-02-06 23:29:59 +00:00
}:
buildPythonApplication rec {
pname = "pyznap";
2019-10-13 23:53:29 +01:00
version = "1.4.3";
2019-02-06 23:29:59 +00:00
src = fetchPypi {
inherit pname version;
2019-10-13 23:53:29 +01:00
sha256 = "00xpw6rmkq5cfjfw23mv0917wfzvb5zxj420p6yh0rnl3swh7gi8";
2019-02-06 23:29:59 +00:00
};
2019-10-13 23:53:29 +01:00
propagatedBuildInputs = [
setuptools
];
2019-02-06 23:29:59 +00: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 ];
};
}