diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 69cdb0b47ccd..cc8dc8f4a7d4 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3773,6 +3773,11 @@ github = "rbasso"; name = "Rafael Basso"; }; + rbrewer = { + email = "rwb123@gmail.com"; + github = "rbrewer123"; + name = "Rob Brewer"; + }; rdnetto = { email = "rdnetto@gmail.com"; github = "rdnetto"; diff --git a/pkgs/tools/backup/pyznap/default.nix b/pkgs/tools/backup/pyznap/default.nix new file mode 100644 index 000000000000..e37327c429d5 --- /dev/null +++ b/pkgs/tools/backup/pyznap/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonApplication +, fetchPypi +, paramiko +, configparser +}: + +buildPythonApplication rec { + pname = "pyznap"; + version = "1.1.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "9ac0da5d7f6461d1d6f128362786e297144b415f9e3a2f1835642ab3dda82d55"; + }; + + propagatedBuildInputs = [ configparser paramiko ]; + + # 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a2a7d5185c14..7330899d9364 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1579,6 +1579,8 @@ in pyCA = python3Packages.callPackage ../applications/video/pyca {}; + pyznap = python3Packages.callPackage ../tools/backup/pyznap {}; + scour = with python3Packages; toPythonApplication scour; s2png = callPackage ../tools/graphics/s2png { };