Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / dulwich / default.nix
blob9c7f62edf11a6915403d80667d7cd3ae953a9fa5
1 { lib
2 , stdenv
3 , buildPythonPackage
4 , certifi
5 , fastimport
6 , fetchPypi
7 , gevent
8 , geventhttpclient
9 , git
10 , glibcLocales
11 , mock
12 , urllib3
15 buildPythonPackage rec {
16   version = "0.20.21";
17   pname = "dulwich";
19   src = fetchPypi {
20     inherit pname version;
21     sha256 = "sha256-rHZMmpuA+mGv40BNUnDFBgqlf38IexGpU5XTt287cf0=";
22   };
24   LC_ALL = "en_US.UTF-8";
26   propagatedBuildInputs = [ urllib3 certifi ];
28   # Only test dependencies
29   checkInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
31   doCheck = !stdenv.isDarwin;
33   pythonImportsCheck = [ "dulwich" ];
35   meta = with lib; {
36     description = "Simple Python implementation of the Git file formats and protocols";
37     longDescription = ''
38       Dulwich is a Python implementation of the Git file formats and protocols, which
39       does not depend on Git itself. All functionality is available in pure Python.
40     '';
41     homepage = "https://www.dulwich.io/";
42     changelog = "https://github.com/dulwich/dulwich/blob/dulwich-${version}/NEWS";
43     license = with licenses; [ asl20 gpl2Plus ];
44     maintainers = with maintainers; [ koral ];
45   };