Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 30 lines 799 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, urllib3, certifi 3, gevent, geventhttpclient, mock, fastimport 4, git, glibcLocales }: 5 6buildPythonPackage rec { 7 version = "0.20.5"; 8 pname = "dulwich"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "98484ede022da663c96b54bc8dcdb4407072cb50efd5d20d58ca4e7779931305"; 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}