summary refs log blame commit diff
path: root/pkgs/development/libraries/gdbm/default.nix
blob: 448fd04edd814f93be00f4c56d3f320f7c7c5c81 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                               









                                                                    




                                                       





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