2017-01-13 15:20:20 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl
|
|
|
|
, gevent, geventhttpclient, mock, fastimport
|
|
|
|
, git, glibcLocales }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-08-24 18:34:20 +01:00
|
|
|
version = "0.18.2";
|
2017-05-27 10:25:35 +01: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-08-24 18:34:20 +01:00
|
|
|
sha256 = "284d0000b21ac12f94bcd5eb3d7dcc42da51e5506b9a53a11c615b46da906d9b";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|