Merge pull request #53563 from rbrewer123/feature/pyznap-init

pyznap: init at 1.1.2
This commit is contained in:
Ryan Mulligan 2019-02-17 21:09:24 -08:00 committed by GitHub
commit fdcf9bbd89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 0 deletions

View file

@ -3822,6 +3822,11 @@
github = "rbasso";
name = "Rafael Basso";
};
rbrewer = {
email = "rwb123@gmail.com";
github = "rbrewer123";
name = "Rob Brewer";
};
rdnetto = {
email = "rdnetto@gmail.com";
github = "rdnetto";

View file

@ -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 ];
};
}

View file

@ -1584,6 +1584,8 @@ in
pyCA = python3Packages.callPackage ../applications/video/pyca {};
pyznap = python3Packages.callPackage ../tools/backup/pyznap {};
scour = with python3Packages; toPythonApplication scour;
s2png = callPackage ../tools/graphics/s2png { };