python3Packages.securestring: init at 0.2

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards 2025-08-11 11:44:02 -04:00
parent bdb6b6078e
commit 99c4eddd47
No known key found for this signature in database
GPG Key ID: D83DC5377393C7E6
2 changed files with 38 additions and 0 deletions

View 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 ];
};
}

View File

@ -16293,6 +16293,8 @@ self: super: with self; {
secure = callPackage ../development/python-modules/secure { };
securestring = callPackage ../development/python-modules/securestring { };
securesystemslib = callPackage ../development/python-modules/securesystemslib { };
securetar = callPackage ../development/python-modules/securetar { };