depot/third_party/nixpkgs/pkgs/development/python-modules/certifi/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

33 lines
632 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "certifi";
version = "2021.10.08";
disabled = isPy27;
src = fetchFromGitHub {
owner = pname;
repo = "python-certifi";
rev = version;
sha256 = "sha256-SFb/spVHK15b53ZG1P147DcTjs1dqR0+MBXzpE+CWpo=";
};
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 ];
};
}