1{ stdenv, buildPythonPackage, fetchurl
2, gevent, geventhttpclient, mock, fastimport
3, git, glibcLocales }:
4
5buildPythonPackage rec {
6 version = "0.18.2";
7 pname = "dulwich";
8 name = "${pname}-${version}";
9
10 src = fetchurl {
11 url = "mirror://pypi/d/dulwich/${name}.tar.gz";
12 sha256 = "284d0000b21ac12f94bcd5eb3d7dcc42da51e5506b9a53a11c615b46da906d9b";
13 };
14
15 LC_ALL = "en_US.UTF-8";
16
17 # Only test dependencies
18 buildInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
19
20 doCheck = !stdenv.isDarwin;
21
22 meta = with stdenv.lib; {
23 description = "Simple Python implementation of the Git file formats and protocols";
24 homepage = http://samba.org/~jelmer/dulwich/;
25 license = licenses.gpl2Plus;
26 maintainers = with maintainers; [ koral ];
27 };
28}