nixpkgs/pkgs/development/python-modules/dulwich/default.nix

29 lines
784 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchurl
, gevent, geventhttpclient, mock, fastimport
, git, glibcLocales }:
buildPythonPackage rec {
2017-11-24 19:36:20 +00:00
version = "0.18.6";
pname = "dulwich";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/d/dulwich/${name}.tar.gz";
2017-11-24 19:36:20 +00:00
sha256 = "38a04406bc68315794c3bab37c7d4ed137fb8a839482d8894e72b0d9b3eb41a9";
};
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 ];
};
}