depot/third_party/nixpkgs/pkgs/development/python-modules/mscerts/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

36 lines
793 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "mscerts";
version = "2024.2.28";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ralphje";
repo = "mscerts";
rev = "refs/tags/${version}";
hash = "sha256-ReUDpax4tvw4ZCH8zOipelIPtHi7BdgLHI/r3FNpo1c=";
};
# 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 ];
};
}