5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
36 lines
793 B
Nix
36 lines
793 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mscerts";
|
|
version = "2023.8.23";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ralphje";
|
|
repo = "mscerts";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-Oc02yi7N2W/DekmTxdYllN6UBD1phbVdSBN2dcPo1oI=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|