2017-01-13 15:20:20 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl
|
|
|
|
, gevent, geventhttpclient, mock, fastimport
|
|
|
|
, git, glibcLocales }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 12:24:47 +00:00
|
|
|
version = "0.17.3";
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "dulwich";
|
|
|
|
name = "${pname}-${version}";
|
2017-01-13 15:20:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/d/dulwich/${name}.tar.gz";
|
2017-05-27 12:24:47 +00:00
|
|
|
sha256 = "0c3eccac93823e172b05d57aaeab3d6f03c6c0f1867613606d1909a3ab4100ca";
|
2017-01-13 15:20:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
|
|
|
|
# Only test dependencies
|
|
|
|
buildInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
|
|
|
|
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple Python implementation of the Git file formats and protocols";
|
|
|
|
homepage = http://samba.org/~jelmer/dulwich/;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
}
|