2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, urllib3, certifi
|
|
|
|
, gevent, geventhttpclient, mock, fastimport
|
|
|
|
, git, glibcLocales }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "0.20.14";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "dulwich";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "21d6ee82708f7c67ce3fdcaf1f1407e524f7f4f7411a410a972faa2176baec0d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ urllib3 certifi ];
|
|
|
|
|
|
|
|
# Only test dependencies
|
|
|
|
checkInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
|
|
|
|
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Simple Python implementation of the Git file formats and protocols";
|
|
|
|
homepage = "https://samba.org/~jelmer/dulwich/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
}
|