mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
29 lines
784 B
Nix
29 lines
784 B
Nix
{ stdenv, buildPythonPackage, fetchurl
|
|
, gevent, geventhttpclient, mock, fastimport
|
|
, git, glibcLocales }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.18.5";
|
|
pname = "dulwich";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://pypi/d/dulwich/${name}.tar.gz";
|
|
sha256 = "838bac318fd0ed79e0eedb6cfd53b6424dc618fec6b99dc959881b12da7bd6e0";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|