nixpkgs/pkgs/development/python-modules/certifi/default.nix

34 lines
633 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, isPy27
2021-06-04 09:57:32 +01:00
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "certifi";
2021-06-04 09:57:32 +01:00
version = "2021.05.30";
disabled = isPy27;
2021-06-04 09:57:32 +01:00
src = fetchFromGitHub {
owner = pname;
repo = "python-certifi";
rev = version;
sha256 = "1i4ljsc47iac6kl1w4w6x0qia08s9z394z9lbyzc05pm7y8a3cmj";
};
2021-06-04 09:57:32 +01:00
checkInputs = [
pytestCheckHook
];
2021-06-04 09:57:32 +01:00
pythonImportsCheck = [ "certifi" ];
meta = with lib; {
homepage = "https://certifi.io/";
description = "Python package for providing Mozilla's CA Bundle";
license = licenses.isc;
maintainers = with maintainers; [ koral ];
};
}