1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/development/libraries/gdbm/default.nix

23 lines
542 B
Nix
Raw Normal View History

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