depot/third_party/nixpkgs/pkgs/development/python-modules/requests-pkcs12/default.nix
Default email 634fe97655 Project import generated by Copybara.
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
2021-07-03 00:11:41 -03:00

34 lines
712 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyopenssl
, requests
}:
buildPythonPackage rec {
pname = "requests-pkcs12";
version = "1.10";
src = fetchFromGitHub {
owner = "m-click";
repo = "requests_pkcs12";
rev = version;
sha256 = "sha256-HIUCzHxOsbk1OmcxkRK9GQ+SZ6Uf1xDylOe2pUYz3Hk=";
};
propagatedBuildInputs = [
requests
pyopenssl
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "requests_pkcs12" ];
meta = with lib; {
description = "PKCS#12 support for the Python requests library";
homepage = "https://github.com/m-click/requests_pkcs12";
license = with licenses; [ isc ];
maintainers = with maintainers; [ fab ];
};
}