python3Packages.securestring: init at 0.2
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
bdb6b6078e
commit
99c4eddd47
36
pkgs/development/python-modules/securestring/default.nix
Normal file
36
pkgs/development/python-modules/securestring/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
setuptools,
|
||||||
|
openssl,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "securestring";
|
||||||
|
version = "0.2";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dnet";
|
||||||
|
repo = "pysecstr";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-FV5NUPberA5nqHad8IwkQLMldT1DPqTGpqOwgQ2zSdI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "SecureString" ];
|
||||||
|
|
||||||
|
# no upstream tests exist
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Clears the contents of strings containing cryptographic material";
|
||||||
|
homepage = "https://github.com/dnet/pysecstr";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = [ lib.maintainers.ethancedwards8 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -16293,6 +16293,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
secure = callPackage ../development/python-modules/secure { };
|
secure = callPackage ../development/python-modules/secure { };
|
||||||
|
|
||||||
|
securestring = callPackage ../development/python-modules/securestring { };
|
||||||
|
|
||||||
securesystemslib = callPackage ../development/python-modules/securesystemslib { };
|
securesystemslib = callPackage ../development/python-modules/securesystemslib { };
|
||||||
|
|
||||||
securetar = callPackage ../development/python-modules/securetar { };
|
securetar = callPackage ../development/python-modules/securetar { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user