nixpkgs/pkgs/development/libraries/buddy/default.nix
Rob Vermaas fb952b2f68 build buddy on all but cygwin
svn path=/nixpkgs/trunk/; revision=25409
2011-01-05 09:52:15 +00:00

25 lines
625 B
Nix

{ stdenv, fetchurl, bison }:
stdenv.mkDerivation rec {
name = "buddy-2.4";
src = fetchurl {
url = "mirror://sourceforge/buddy/${name}.tar.gz";
sha256 = "0dl86l9xkl33wnkz684xa9axhcxx2zzi4q5lii0axnb9lsk81pyk";
};
buildInputs = [ bison ];
patches = [ ./gcc-4.3.3-fixes.patch ];
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3";
doCheck = true;
meta = {
homepage = "http://sourceforge.net/projects/buddy/";
description = "binary decision diagram package";
license = "as-is";
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
maintainers = [ stdenv.lib.maintainers.simons ];
};
}