at 22.05-pre 30 lines 787 B view raw
1{ lib, stdenv, buildPythonPackage, fetchPypi 2, urllib3, certifi 3, gevent, geventhttpclient, mock, fastimport 4, git, glibcLocales }: 5 6buildPythonPackage rec { 7 version = "0.19.16"; 8 pname = "dulwich"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "f74561c448bfb6f04c07de731c1181ae4280017f759b0bb04fa5770aa84ca850"; 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 lib; { 25 description = "Simple Python implementation of the Git file formats and protocols"; 26 homepage = "https://www.dulwich.io/"; 27 license = licenses.gpl2Plus; 28 maintainers = with maintainers; [ koral ]; 29 }; 30}