1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "mscerts";
11 version = "2025.8.29";
12 pyproject = true;
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "ralphje";
18 repo = "mscerts";
19 tag = version;
20 hash = "sha256-K7U4dbhH3yWElSKRhU9mHU4W+Hdc6Vb9kf/TE4EJs8c=";
21 };
22
23 build-system = [ setuptools ];
24
25 # extras_require contains signify -> circular dependency
26
27 # Module has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "mscerts" ];
31
32 meta = with lib; {
33 description = "Makes the Microsoft Trusted Root Program's Certificate Trust Lists available in Python";
34 homepage = "https://github.com/ralphje/mscerts";
35 license = with licenses; [ mpl20 ];
36 maintainers = with maintainers; [ fab ];
37 };
38}