python310Packages.mscerts: init at 2023.4.26

This commit is contained in:
Fabian Affolter 2023-05-16 09:55:48 +02:00
parent 9318364586
commit a202a07e23
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "mscerts";
version = "2023.4.26";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ralphje";
repo = "mscerts";
rev = "refs/tags/${version}";
hash = "sha256-7aiSFMZsUtuSqXQ1jJ3OhyBhzAH70ZX5+NqOtrpRmmw=";
};
# extras_require contains signify -> circular dependency
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"mscerts"
];
meta = with lib; {
description = "Makes the Microsoft Trusted Root Program's Certificate Trust Lists available in Python";
homepage = "https://github.com/ralphje/mscerts";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6397,6 +6397,8 @@ self: super: with self; {
msal-extensions = callPackage ../development/python-modules/msal-extensions { };
mscerts = callPackage ../development/python-modules/mscerts { };
msgpack = callPackage ../development/python-modules/msgpack { };
msgpack-numpy = callPackage ../development/python-modules/msgpack-numpy { };