tokyocabinet: 1.4.46 -> 1.4.48

This commit is contained in:
William A. Kennington III 2014-11-14 21:53:53 -08:00
parent 7a318d5f73
commit 5e39ab62d1

View File

@ -1,17 +1,15 @@
{ fetchurl, stdenv, zlib, bzip2 }: { fetchurl, stdenv, zlib, bzip2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tokyocabinet-1.4.46"; name = "tokyocabinet-1.4.48";
src = fetchurl { src = fetchurl {
url = "http://www.1978th.net/tokyocabinet/${name}.tar.gz"; url = "http://fallabs.com/tokyocabinet/${name}.tar.gz";
sha256 = "18rkv6kq43cqabc9mvfw534nsv6v8bc2i2r2bmax0yxnbhqa7ahf"; sha256 = "140zvr0n8kvsl0fbn2qn3f2kh3yynfwnizn4dgbj47m975yg80x0";
}; };
buildInputs = [ zlib bzip2 ]; buildInputs = [ zlib bzip2 ];
doCheck = true;
postInstall = postInstall =
'' sed -i "$out/lib/pkgconfig/tokyocabinet.pc" \ '' sed -i "$out/lib/pkgconfig/tokyocabinet.pc" \
-e 's|-lz|-L${zlib}/lib -lz|g; -e 's|-lz|-L${zlib}/lib -lz|g;