mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
tokyocabinet: 1.4.46 -> 1.4.48
This commit is contained in:
parent
7a318d5f73
commit
5e39ab62d1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user