python3Packages.securetar: init at 2022.02.0

This commit is contained in:
Fabian Affolter 2022-04-16 21:15:36 +02:00
parent 603b07bfb2
commit 5307f207b9
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "securetar";
version = "2022.02.0";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "pvizeli";
repo = pname;
rev = version;
hash = "sha256-FwQp08jwcGh07zpHqRNoUUmeLZJh78wI8wCXySi3Tdc=";
};
propagatedBuildInputs = [
cryptography
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"securetar"
];
meta = with lib; {
description = "Module to handle tarfile backups";
homepage = "https://github.com/pvizeli/securetar";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -9154,6 +9154,8 @@ in {
secure = callPackage ../development/python-modules/secure { };
securetar = callPackage ../development/python-modules/securetar { };
seekpath = callPackage ../development/python-modules/seekpath { };
segments = callPackage ../development/python-modules/segments { };