1{ stdenv, buildPythonPackage, fetchPypi
2, urllib3, certifi
3, gevent, geventhttpclient, mock, fastimport
4, git, glibcLocales }:
5
6buildPythonPackage rec {
7 version = "0.19.11";
8 pname = "dulwich";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "afbe070f6899357e33f63f3f3696e601731fef66c64a489dea1bc9f539f4a725";
13 };
14
15 LC_ALL = "en_US.UTF-8";
16
17 propagatedBuildInputs = [ urllib3 certifi ];
18
19 # Only test dependencies
20 checkInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
21
22 doCheck = !stdenv.isDarwin;
23
24 meta = with stdenv.lib; {
25 description = "Simple Python implementation of the Git file formats and protocols";
26 homepage = https://samba.org/~jelmer/dulwich/;
27 license = licenses.gpl2Plus;
28 maintainers = with maintainers; [ koral ];
29 };
30}