1{ stdenv, buildPythonPackage, fetchPypi 2, urllib3, certifi 3, gevent, geventhttpclient, mock, fastimport 4, git, glibcLocales }: 5 6buildPythonPackage rec { 7 version = "0.19.6"; 8 pname = "dulwich"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "9a7dc5c5759f3d3b7a9ac0a684aa2c47f099e1722d9caab5b043cef1d73ff4a2"; 13 }; 14 15 LC_ALL = "en_US.UTF-8"; 16 17 propagatedBuildInputs = [ urllib3 certifi ]; 18 19 # Only test dependencies 20 checkInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ]; 21 22 doCheck = !stdenv.isDarwin; 23 24 meta = with stdenv.lib; { 25 description = "Simple Python implementation of the Git file formats and protocols"; 26 homepage = https://samba.org/~jelmer/dulwich/; 27 license = licenses.gpl2Plus; 28 maintainers = with maintainers; [ koral ]; 29 }; 30}