mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #138922 from fabaff/bump-pyspnego
This commit is contained in:
commit
e166d92c30
@ -2,6 +2,9 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cryptography
|
, cryptography
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, gssapi
|
||||||
|
, krb5
|
||||||
|
, ruamel-yaml
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
@ -10,18 +13,22 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyspnego";
|
pname = "pyspnego";
|
||||||
version = "0.1.6";
|
version = "0.2.0";
|
||||||
disabled = pythonOlder "3.6";
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jborean93";
|
owner = "jborean93";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0pfh2x0539f0k2qi2pbjm64b2fqp64c63xxpinvg1yfaw915kgpb";
|
sha256 = "sha256-puv9aq53NbjSuN561XFou404N9pIxvvMjZMgnNx3SjM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cryptography
|
cryptography
|
||||||
|
gssapi
|
||||||
|
krb5
|
||||||
|
ruamel-yaml
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
@ -30,6 +37,11 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# struct.error: unpack requires a buffer of 1 bytes
|
||||||
|
"test_credssp_invalid_client_authentication"
|
||||||
|
];
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
|
||||||
pythonImportsCheck = [ "spnego" ];
|
pythonImportsCheck = [ "spnego" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user