3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #217639 from r-ryantm/auto-update/python310Packages.httpx-ntlm

python310Packages.httpx-ntlm: 1.0.0 -> 1.1.0
This commit is contained in:
Weijia Wang 2023-02-23 06:57:49 +02:00 committed by GitHub
commit 4194c97a10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,5 @@
{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, httpx
, pyspnego
@ -9,7 +8,7 @@
buildPythonPackage rec {
pname = "httpx-ntlm";
version = "1.0.0";
version = "1.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,21 +16,14 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "httpx_ntlm";
inherit version;
hash = "sha256-pv/OxgcO0JWk2nCZp+bKlOdX7NqV6V5xZRDy5dd13qQ=";
hash = "sha256-a1a5laZ4tNOtpVDFCK1t2IXWbyJytZMhuad2JtmA52I=";
};
propagatedBuildInputs = [
cryptography
httpx
pyspnego
];
postPatch = ''
substituteInPlace setup.py \
--replace "pyspnego==0.3.*" "pyspnego>=0.3.*" \
--replace "cryptography==36.0.*" "cryptography>=36.0.*"
'';
# https://github.com/ulodciv/httpx-ntlm/issues/5
doCheck = false;