1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/gdbm/default.nix
Lluís Batlle i Rossell 27e2ae10a0 Making gdbm get the proper config.guess for it to build in the Fuloong 2f.
I could not find a newer gdbm with newer config.guess.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22979
2010-08-05 22:04:10 +00:00

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+";
};
}