nixpkgs/pkgs/development/python-modules/dulwich/default.nix
2018-04-08 11:34:54 +02:00

29 lines
784 B
Nix

{ stdenv, buildPythonPackage, fetchurl
, gevent, geventhttpclient, mock, fastimport
, git, glibcLocales }:
buildPythonPackage rec {
version = "0.19.0";
pname = "dulwich";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/d/dulwich/${name}.tar.gz";
sha256 = "91aad98f37a5494c6eabf08c78ed2b6e1b1ce6e7a5556406245d8763a352b99e";
};
LC_ALL = "en_US.UTF-8";
# Only test dependencies
buildInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
description = "Simple Python implementation of the Git file formats and protocols";
homepage = http://samba.org/~jelmer/dulwich/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ koral ];
};
}