Commit cabda34d authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.httpx-ntlm: 1.1.0 -> 1.4.0

parent 116a53be
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
{ 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 ];
  };