python3Packages.securestring: init at 0.2

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>

Changed files
+38
pkgs
development
python-modules
securestring
top-level
+36
pkgs/development/python-modules/securestring/default.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 ];
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
secure = callPackage ../development/python-modules/secure { };
+
securestring = callPackage ../development/python-modules/securestring { };
+
securesystemslib = callPackage ../development/python-modules/securesystemslib { };
securetar = callPackage ../development/python-modules/securetar { };