Merge pull request #4285 from k0ral/hg-git

hg-git: 0.3.1 -> 0.6.1, and its dependency dulwich: 0.8.7 -> 0.9.7
This commit is contained in:
Mateusz Kowalczyk 2014-09-30 09:57:39 +01:00
commit 876bd39fae

View file

@ -1167,6 +1167,22 @@ let
};
};
certifi = buildPythonPackage rec {
name = "certifi-${version}";
version = "14.05.14";
src = fetchurl {
url = "https://pypi.python.org/packages/source/c/certifi/${name}.tar.gz";
sha256 = "0s8vxzfz6s4m6fvxc7z25k9j35w0rh6jkw3wwcd1az1mssncn6qy";
};
meta = with stdenv.lib; {
homepage = http://certifi.io/;
description = "Python package for providing Mozilla's CA Bundle.";
license = licenses.isc;
maintainers = [ maintainers.koral ];
};
};
characteristic = buildPythonPackage rec {
name = "characteristic-14.1.0";
@ -3271,40 +3287,41 @@ let
dulwich = buildPythonPackage rec {
name = "dulwich-0.8.7";
disabled = isPy3k || isPyPy;
name = "dulwich-${version}";
version = "0.9.7";
src = fetchurl {
url = "http://samba.org/~jelmer/dulwich/${name}.tar.gz";
sha256 = "041qp5v2x8fbwkmws6hwwiny74lavkz723dj8gwbm40b2383d8vv";
url = "https://pypi.python.org/packages/source/d/dulwich/${name}.tar.gz";
sha256 = "1wq083g9b1xsk89kb0wwpi4mxy63x6760vn9x5sk1fx36h27prqj";
};
buildPhase = "make build";
# Only test dependencies
buildInputs = [ pkgs.git gevent geventhttpclient mock fastimport ];
# For some reason "python setup.py test" doesn't work with Python 2.6.
# pretty sure that is about import behaviour.
doCheck = python.majorVersion != "2.6";
meta = {
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 = [ maintainers.koral ];
};
};
hggit = buildPythonPackage rec {
name = "hg-git-0.3.1";
hg-git = buildPythonPackage rec {
name = "hg-git-${version}";
version = "0.6.1";
src = fetchurl {
url = "http://pypi.python.org/packages/source/h/hg-git/${name}.tar.gz";
md5 = "4b15867a07abb0be985177581ce64cee";
sha256 = "136kz4w377ldcjdg865azi8aym0xnxzxl3rycnflgay26ar1309s";
};
propagatedBuildInputs = [ dulwich ];
propagatedBuildInputs = [ pkgs.mercurial dulwich ];
meta = {
meta = with stdenv.lib; {
description = "Push and pull from a Git server using Mercurial.";
homepage = http://hg-git.github.com/;
maintainers = [ maintainers.koral ];
};
};
@ -3467,6 +3484,23 @@ let
};
};
fastimport = buildPythonPackage rec {
name = "fastimport-${version}";
version = "0.9.4";
src = fetchurl {
url = "https://pypi.python.org/packages/source/f/fastimport/${name}.tar.gz";
sha256 = "0k8x7552ypx9rc14vbsvg2lc6z0r8pv9laah28pdwyynbq10825d";
};
meta = with stdenv.lib; {
homepage = https://launchpad.net/python-fastimport;
description = "VCS fastimport/fastexport parser";
maintainers = [ maintainers.koral ];
license = licenses.gpl2Plus;
};
};
feedgenerator = buildPythonPackage (rec {
name = "feedgenerator-1.7";
@ -3802,6 +3836,24 @@ let
};
};
geventhttpclient = buildPythonPackage rec {
name = "geventhttpclient-${version}";
version = "1.1.0";
src = fetchurl {
url = "https://pypi.python.org/packages/source/g/geventhttpclient/${name}.tar.gz";
sha256 = "1k7s4dnkmcfqqkmbqi0vvb2ns53r9cl2652mq20bgg65zj26j2l6";
};
propagatedBuildInputs = [ gevent certifi backports_ssl_match_hostname_3_4_0_2 ];
meta = with stdenv.lib; {
homepage = http://github.com/gwik/geventhttpclient;
description = "HTTP client library for gevent";
license = licenses.mit;
maintainers = [ maintainers.koral ];
};
};
gevent-socketio = buildPythonPackage rec {
name = "gevent-socketio-0.3.6";