python3Packages.pyspnego: init at 0.1.6

This commit is contained in:
Fabian Affolter 2021-06-07 08:58:31 +02:00
parent deaa70e29e
commit 565cc2a0db
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytest-mock
, pytestCheckHook
, pythonOlder
, glibcLocales
}:
buildPythonPackage rec {
pname = "pyspnego";
version = "0.1.6";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "jborean93";
repo = pname;
rev = "v${version}";
sha256 = "0pfh2x0539f0k2qi2pbjm64b2fqp64c63xxpinvg1yfaw915kgpb";
};
propagatedBuildInputs = [
cryptography
];
checkInputs = [
glibcLocales
pytest-mock
pytestCheckHook
];
LC_ALL = "en_US.UTF-8";
pythonImportsCheck = [ "spnego" ];
meta = with lib; {
description = "Python SPNEGO authentication library";
homepage = "Python SPNEGO authentication library";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6334,6 +6334,8 @@ in {
pyspinel = callPackage ../development/python-modules/pyspinel { };
pyspnego = callPackage ../development/python-modules/pyspnego { };
pyspotify = callPackage ../development/python-modules/pyspotify { };
pysptk = callPackage ../development/python-modules/pysptk { };