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