27e2ae10a0
I could not find a newer gdbm with newer config.guess. svn path=/nixpkgs/branches/stdenv-updates/; revision=22979
23 lines
542 B
Nix
23 lines
542 B
Nix
{ stdenv, fetchurl, automake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gdbm-1.8.3";
|
|
src = fetchurl {
|
|
url = "mirror://gnu/gdbm/${name}.tar.gz";
|
|
sha256 = "1j8x51xc71di1fx23sl22n5ghlqxl9a57sxri82l12z2l8w06d6c";
|
|
};
|
|
|
|
patches = [ ./install.patch ];
|
|
|
|
# The fuloong2f is not supported by gdbm 1.8.3 still
|
|
preConfigure = ''
|
|
cp ${automake}/share/automake*/config.{sub,guess} .
|
|
'';
|
|
|
|
meta = {
|
|
description = "GNU DBM key/value database library";
|
|
homepage = http://www.gnu.org/software/gdbm/;
|
|
license = "GPLv2+";
|
|
};
|
|
}
|