Merge pull request #265333 from fabaff/httpx-ntlm-bump

python311Packages.httpx-ntlm: 1.1.0 -> 1.4.0
This commit is contained in:
Fabian Affolter 2023-11-04 09:39:14 +01:00 committed by GitHub
commit e4082efedb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, httpx
, pyspnego
, pythonOlder
@ -9,7 +8,7 @@
buildPythonPackage rec {
pname = "httpx-ntlm";
version = "1.1.0";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,18 +16,9 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "httpx_ntlm";
inherit version;
hash = "sha256-a1a5laZ4tNOtpVDFCK1t2IXWbyJytZMhuad2JtmA52I=";
hash = "sha256-Qb6KK6hRQ0hOYX3LkX1LGeOuEq/caIYipJAQNJk7U+Q=";
};
patches = [
# Update version specifiers, https://github.com/ulodciv/httpx-ntlm/pull/15
(fetchpatch {
name = "update-version-specifiers.patch";
url = "https://github.com/ulodciv/httpx-ntlm/commit/dac67a957c5c23df29d4790ddbc7cc4bccfc0e35.patch";
hash = "sha256-YtgRrgGG/x7jvNg+NuQIrkOUdyD6Bk53fRaiXBwiV+o=";
})
];
propagatedBuildInputs = [
httpx
pyspnego
@ -44,6 +34,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "NTLM authentication support for HTTPX";
homepage = "https://github.com/ulodciv/httpx-ntlm";
changelog = "https://github.com/ulodciv/httpx-ntlm/releases/tag/${version}";
license = licenses.isc;
maintainers = with maintainers; [ fab ];
};