Merge pull request #168956 from fabaff/securetar

python3Packages.securetar: init at 2022.02.0
This commit is contained in:
Martin Weinelt 2022-04-16 21:27:46 +02:00 committed by GitHub
commit 415c23a237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 1 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

@ -237,7 +237,8 @@
];
"backup" = ps: with ps; [
aiohttp-cors
]; # missing inputs: securetar
securetar
];
"baidu" = ps: with ps; [
]; # missing inputs: baidu-aip
"balboa" = ps: with ps; [
@ -3161,6 +3162,7 @@
"axis"
"azure_devops"
"azure_event_hub"
"backup"
"balboa"
"bayesian"
"binary_sensor"

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 { };