2018-04-06 14:53:24 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, urllib3, certifi
|
2017-01-13 15:20:20 +00:00
|
|
|
, gevent, geventhttpclient, mock, fastimport
|
|
|
|
, git, glibcLocales }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-08-13 08:23:37 +01:00
|
|
|
version = "0.19.6";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "dulwich";
|
2017-01-13 15:20:20 +00:00
|
|
|
|
2018-04-06 14:53:24 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-13 08:23:37 +01:00
|
|
|
sha256 = "9a7dc5c5759f3d3b7a9ac0a684aa2c47f099e1722d9caab5b043cef1d73ff4a2";
|
2017-01-13 15:20:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
|
2018-04-06 14:53:24 +01:00
|
|
|
propagatedBuildInputs = [ urllib3 certifi ];
|
|
|
|
|
2017-01-13 15:20:20 +00:00
|
|
|
# Only test dependencies
|
2018-04-06 14:53:24 +01:00
|
|
|
checkInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
|
2017-01-13 15:20:20 +00:00
|
|
|
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple Python implementation of the Git file formats and protocols";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://samba.org/~jelmer/dulwich/;
|
2017-01-13 15:20:20 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
}
|