depot/third_party/nixpkgs/pkgs/development/python-modules/certifi/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

33 lines
688 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "certifi";
version = "2022.05.18.1";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = pname;
repo = "python-certifi";
rev = version;
sha256 = "sha256-uDNVzKcT45mz0zXBwPkttKV21fEcgbRamE3+QutNLjA=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "certifi" ];
meta = with lib; {
homepage = "https://github.com/certifi/python-certifi";
description = "Python package for providing Mozilla's CA Bundle";
license = licenses.isc;
maintainers = with maintainers; [ koral SuperSandro2000 ];
};
}