mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
37 lines
697 B
Nix
37 lines
697 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pyasn1
|
|
, pyopenssl
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.5.1";
|
|
format = "setuptools";
|
|
pname = "ndg-httpsclient";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cedadev";
|
|
repo = "ndg_httpsclient";
|
|
rev = version;
|
|
sha256 = "0lhsgs4am4xyjssng5p0vkfwqncczj1dpa0vss4lrhzq86mnn5rz";
|
|
};
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
pyasn1
|
|
pyopenssl
|
|
];
|
|
|
|
# uses networking
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/cedadev/ndg_httpsclient/";
|
|
description = "Provide enhanced HTTPS support for httplib and urllib2 using PyOpenSSL";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
|
|
}
|