My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/requests-pkcs12/default.nix

41 lines
789 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyopenssl
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "requests-pkcs12";
version = "1.14";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "m-click";
repo = "requests_pkcs12";
rev = version;
hash = "sha256-LZgKjSas0KdJAf4leSVz8sEnRrlJ20Sm9Ka+S5zDOTM=";
};
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 ];
};
}