pythonPackages.ntlm-auth: 1.0.3 -> 1.4.0 to fix build
On master and 20.03, this is failing to build on `python 3.8`. https://hydra.nixos.org/build/115517329 https://hydra.nixos.org/build/114714922 CC @NixOS/nixos-release-managers ZHF: #80379 Co-Authored-By: Niklas Hambüchen <mail@nh2.me>
This commit is contained in:
parent
c2b0601d48
commit
97f09ff09f
@ -3,22 +3,23 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, mock
|
, mock
|
||||||
, pytest
|
, pytest
|
||||||
|
, requests
|
||||||
, unittest2
|
, unittest2
|
||||||
, six
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ntlm-auth";
|
pname = "ntlm-auth";
|
||||||
version = "1.0.3";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jborean93";
|
owner = "jborean93";
|
||||||
repo = "ntlm-auth";
|
repo = "ntlm-auth";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "09f2g4ivfi9lh1kr30hlg0q4n2imnvmd79w83gza11q9nmhhiwpz";
|
sha256 = "168k3ygwbvnfcwn7q1nv3vvy6b9jc4cnpix0xgg5j8av7v1x0grn";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ mock pytest unittest2 ];
|
checkInputs = [ mock pytest requests unittest2 ];
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
# Functional tests require networking
|
# Functional tests require networking
|
||||||
@ -28,8 +29,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Calculates NTLM Authentication codes";
|
description = "Calculates NTLM Authentication codes";
|
||||||
homepage = https://github.com/jborean93/ntlm-auth;
|
homepage = "https://github.com/jborean93/ntlm-auth";
|
||||||
license = licenses.lgpl3;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ elasticdog ];
|
maintainers = with maintainers; [ elasticdog ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user