python3Packages.requests-pkcs12: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent 4119bab067
commit ba62d84ce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      pkgs/development/python-modules/requests-pkcs12/default.nix

@ -2,18 +2,22 @@
, 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;
sha256 = "sha256-LZgKjSas0KdJAf4leSVz8sEnRrlJ20Sm9Ka+S5zDOTM=";
hash = "sha256-LZgKjSas0KdJAf4leSVz8sEnRrlJ20Sm9Ka+S5zDOTM=";
};
propagatedBuildInputs = [
@ -23,7 +27,10 @@ buildPythonPackage rec {
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "requests_pkcs12" ];
pythonImportsCheck = [
"requests_pkcs12"
];
meta = with lib; {
description = "PKCS#12 support for the Python requests library";

Loading…
Cancel
Save