diff options
Diffstat (limited to 'pkgs/development/python-modules/dulwich/default.nix')
-rw-r--r-- | pkgs/development/python-modules/dulwich/default.nix | 80 |
1 files changed, 41 insertions, 39 deletions
diff --git a/pkgs/development/python-modules/dulwich/default.nix b/pkgs/development/python-modules/dulwich/default.nix index 49789421af346..2a7ca19802b71 100644 --- a/pkgs/development/python-modules/dulwich/default.nix +++ b/pkgs/development/python-modules/dulwich/default.nix @@ -1,22 +1,23 @@ -{ lib -, stdenv -, buildPythonPackage -, certifi -, fastimport -, fetchFromGitHub -, gevent -, geventhttpclient -, git -, glibcLocales -, gnupg -, gpgme -, paramiko -, pytest-xdist -, pytestCheckHook -, pythonOlder -, setuptools -, setuptools-rust -, urllib3 +{ + lib, + stdenv, + buildPythonPackage, + certifi, + fastimport, + fetchFromGitHub, + gevent, + geventhttpclient, + git, + glibcLocales, + gnupg, + gpgme, + paramiko, + pytest-xdist, + pytestCheckHook, + pythonOlder, + setuptools, + setuptools-rust, + urllib3, }: buildPythonPackage rec { @@ -44,28 +45,26 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - fastimport = [ - fastimport - ]; + fastimport = [ fastimport ]; pgp = [ gpgme gnupg ]; - paramiko = [ - paramiko - ]; + paramiko = [ paramiko ]; }; - nativeCheckInputs = [ - gevent - geventhttpclient - git - glibcLocales - pytest-xdist - pytestCheckHook - ] ++ passthru.optional-dependencies.fastimport - ++ passthru.optional-dependencies.pgp - ++ passthru.optional-dependencies.paramiko; + nativeCheckInputs = + [ + gevent + geventhttpclient + git + glibcLocales + pytest-xdist + pytestCheckHook + ] + ++ passthru.optional-dependencies.fastimport + ++ passthru.optional-dependencies.pgp + ++ passthru.optional-dependencies.paramiko; doCheck = !stdenv.isDarwin; @@ -76,6 +75,8 @@ buildPythonPackage rec { "test_cyrillic" # OSError: [Errno 84] Invalid or incomplete multibyte or wide character: b'/build/tmpfseetobk/test/\xc0' "test_commit_no_encode_decode" + # https://github.com/jelmer/dulwich/issues/1279 + "test_init_connector" ]; disabledTestPaths = [ @@ -85,9 +86,7 @@ buildPythonPackage rec { "dulwich/tests/compat/test_client.py" ]; - pythonImportsCheck = [ - "dulwich" - ]; + pythonImportsCheck = [ "dulwich" ]; meta = with lib; { description = "Implementation of the Git file formats and protocols"; @@ -97,7 +96,10 @@ buildPythonPackage rec { ''; homepage = "https://www.dulwich.io/"; changelog = "https://github.com/jelmer/dulwich/blob/dulwich-${version}/NEWS"; - license = with licenses; [ asl20 gpl2Plus ]; + license = with licenses; [ + asl20 + gpl2Plus + ]; maintainers = with maintainers; [ koral ]; }; } |