1{ stdenv, buildPythonPackage, fetchurl
2, gevent, geventhttpclient, mock, fastimport
3, git, glibcLocales }:
4
5buildPythonPackage rec {
6 version = "0.18.6";
7 pname = "dulwich";
8 name = "${pname}-${version}";
9
10 src = fetchurl {
11 url = "mirror://pypi/d/dulwich/${name}.tar.gz";
12 sha256 = "38a04406bc68315794c3bab37c7d4ed137fb8a839482d8894e72b0d9b3eb41a9";
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}