pythonPackages.ntlm-auth: init at 1.0.3

This commit is contained in:
Aaron Bull Schaefer 2017-05-26 15:55:15 -07:00
parent 594829ddfc
commit 663d369211
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, pytest
, unittest2
, six
}:
buildPythonPackage rec {
pname = "ntlm-auth";
version = "1.0.3";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "jborean93";
repo = "ntlm-auth";
rev = "v${version}";
sha256 = "09f2g4ivfi9lh1kr30hlg0q4n2imnvmd79w83gza11q9nmhhiwpz";
};
checkInputs = [ mock pytest unittest2 ];
propagatedBuildInputs = [ six ];
# Functional tests require networking
checkPhase = ''
py.test --ignore=tests/functional/test_iis.py
'';
meta = with lib; {
description = "Calculates NTLM Authentication codes";
homepage = https://github.com/jborean93/ntlm-auth;
license = licenses.lgpl3;
maintainers = with maintainers; [ elasticdog ];
platforms = platforms.all;
};
}

View File

@ -234,6 +234,8 @@ in {
nltk = callPackage ../development/python-modules/nltk.nix { };
ntlm-auth = callPackage ../development/python-modules/ntlm-auth { };
pitz = callPackage ../applications/misc/pitz { };
plantuml = callPackage ../tools/misc/plantuml { };