capnproto: update to 0.5.0

This commit is contained in:
Charles Strahan 2015-01-12 03:24:41 -05:00
parent 97783b87c0
commit 96fd899fea
2 changed files with 11 additions and 10 deletions

View file

@ -1,7 +1,13 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "capnproto-0.4.1";
stdenv.mkDerivation rec {
name = "capnproto-${version}";
version = "0.5.0";
src = fetchurl {
url = "https://capnproto.org/capnproto-c++-${version}.tar.gz";
sha256 = "01fsf60zlyc6rlhnrh8gd9jj5gs52ancb50ml3w7gwq55zgx2rf7";
};
meta = with stdenv.lib; {
homepage = "http://kentonv.github.io/capnproto";
@ -15,9 +21,4 @@ stdenv.mkDerivation {
platforms = platforms.all;
maintainers = with maintainers; [ cstrahan ];
};
src = fetchurl {
url = "https://capnproto.org/capnproto-c++-0.4.1.tar.gz";
sha256 = "8453e8d508906062f113dbdfff552f41e08083ccf7c9407778a8d107675cd468";
};
}

View file

@ -7440,19 +7440,19 @@ let
pycapnp = buildPythonPackage rec {
name = "pycapnp-0.4.4";
name = "pycapnp-0.5.1";
disabled = isPyPy || isPy3k;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pycapnp/${name}.tar.gz";
sha256 = "33b2b79438bb9bf37097966e1c90403c34ab49be1eb647ee251b62f362ee3537";
sha256 = "1kp97il34419gcrhn866n6a10lvh8qr13bnllnnh9473n4cq0cvk";
};
buildInputs = with pkgs; [ capnproto self.cython ];
# import setuptools as soon as possible, to minimize monkeypatching mayhem.
postConfigure = ''
sed -i '2iimport setuptools' setup.py
sed -i '3iimport setuptools' setup.py
'';
meta = with stdenv.lib; {