1{ lib 2, buildPythonPackage 3, cryptography 4, fetchFromGitHub 5, mock 6, pytestCheckHook 7, requests 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "ntlm-auth"; 13 version = "1.5.0"; 14 15 src = fetchFromGitHub { 16 owner = "jborean93"; 17 repo = "ntlm-auth"; 18 rev = "v${version}"; 19 sha256 = "00dpf5bfsy07frsjihv1k10zmwcyq4bvkilbxha7h6nlwpcm2409"; 20 }; 21 22 propagatedBuildInputs = [ 23 cryptography 24 six 25 ]; 26 27 checkInputs = [ 28 mock 29 pytestCheckHook 30 requests 31 ]; 32 33 pythonImportsCheck = [ "ntlm_auth" ]; 34 35 meta = with lib; { 36 description = "Calculates NTLM Authentication codes"; 37 homepage = "https://github.com/jborean93/ntlm-auth"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ elasticdog ]; 40 platforms = platforms.all; 41 }; 42}