Diff: https://github.com/ralphje/mscerts/compare/refs/tags/2025.5.28...refs/tags/2025.6.27
39 lines
821 B
Nix
39 lines
821 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mscerts";
|
|
version = "2025.6.27";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ralphje";
|
|
repo = "mscerts";
|
|
tag = version;
|
|
hash = "sha256-By0gVlsVjgBREBGUOZjnKE9HTHC+zLZ4kUKIcN7/eKY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|