Ethan Carter Edwards 99c4eddd47
python3Packages.securestring: init at 0.2
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-08-14 11:16:29 -04:00

37 lines
733 B
Nix

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