forked from mirrors/nixpkgs
python3Packages.securetar: init at 2022.02.0
This commit is contained in:
parent
603b07bfb2
commit
5307f207b9
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 ];
|
||||
};
|
||||
}
|
|
@ -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