Merge pull request #168956 from fabaff/securetar
python3Packages.securetar: init at 2022.02.0
This commit is contained in:
commit
415c23a237
41
pkgs/development/python-modules/securetar/default.nix
Normal file
41
pkgs/development/python-modules/securetar/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue