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