19 buildPythonPackage rec {
22 format = "setuptools";
24 disabled = pythonOlder "3.7";
27 inherit pname version;
28 hash = "sha256-MPvofotR84E8Ex4oQchtAHQ00WC9FttYa0DUfzHdBbA=";
31 LC_ALL = "en_US.UTF-8";
33 propagatedBuildInputs = [
38 passthru.optional-dependencies = {
57 ] ++ passthru.optional-dependencies.fastimport
58 ++ passthru.optional-dependencies.pgp
59 ++ passthru.optional-dependencies.paramiko;
61 doCheck = !stdenv.isDarwin;
64 # OSError: [Errno 84] Invalid or incomplete multibyte or wide character: b'/build/tmpsqwlbpd1/\xc0'
65 "test_no_decode_encode"
66 # OSError: [Errno 84] Invalid or incomplete multibyte or wide character: b'/build/tmpwmtfyvo2/refs.git/refs/heads/\xcd\xee\xe2\xe0\xff\xe2\xe5\xf2\xea\xe01'
68 # OSError: [Errno 84] Invalid or incomplete multibyte or wide character: b'/build/tmpfseetobk/test/\xc0'
69 "test_commit_no_encode_decode"
74 "dulwich/contrib/test_swift_smoke.py"
77 pythonImportsCheck = [
82 description = "Implementation of the Git file formats and protocols";
84 Dulwich is a Python implementation of the Git file formats and protocols, which
85 does not depend on Git itself. All functionality is available in pure Python.
87 homepage = "https://www.dulwich.io/";
88 changelog = "https://github.com/dulwich/dulwich/blob/dulwich-${version}/NEWS";
89 license = with licenses; [ asl20 gpl2Plus ];
90 maintainers = with maintainers; [ koral ];