Files
nixpkgs/pkgs/development/python-modules/certifi/default.nix
T
Fabian Affolter d607e3143f python3Packages.certifi: enable tests
(cherry picked from commit 19f90b99e7451160d3a13a404d5a8194ef60a27a)
2021-06-06 19:23:11 +00:00

31 lines
602 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "certifi";
version = "2021.05.30";
src = fetchFromGitHub {
owner = pname;
repo = "python-certifi";
rev = version;
sha256 = "1i4ljsc47iac6kl1w4w6x0qia08s9z394z9lbyzc05pm7y8a3cmj";
};
checkInputs = [
pytestCheckHook
];
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 ];
};
}