2009-07-02 18:06:01 +01:00
|
|
|
{ stdenv, fetchurl, bison }:
|
2008-07-15 10:58:30 +01:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2008-07-15 10:58:30 +01:00
|
|
|
name = "buddy-2.4";
|
2009-07-02 18:06:01 +01:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
src = fetchurl {
|
2008-07-15 10:58:30 +01:00
|
|
|
url = "mirror://sourceforge/buddy/${name}.tar.gz";
|
|
|
|
sha256 = "0dl86l9xkl33wnkz684xa9axhcxx2zzi4q5lii0axnb9lsk81pyk";
|
|
|
|
};
|
2009-07-02 18:06:01 +01:00
|
|
|
|
|
|
|
buildInputs = [ bison ];
|
|
|
|
patches = [ ./gcc-4.3.3-fixes.patch ];
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "CFLAGS=-O3" "CXXFLAGS=-O3" ];
|
2019-01-04 19:33:50 +00:00
|
|
|
NIX_LDFLAGS = [
|
|
|
|
"-lm"
|
|
|
|
];
|
2008-07-15 10:58:30 +01:00
|
|
|
doCheck = true;
|
2009-07-02 18:06:01 +01:00
|
|
|
|
|
|
|
meta = {
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://sourceforge.net/projects/buddy/;
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Binary decision diagram package";
|
2009-07-02 18:06:01 +01:00
|
|
|
license = "as-is";
|
2010-08-26 19:43:29 +01:00
|
|
|
|
2018-03-13 22:00:52 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
|
2016-05-16 21:30:20 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2009-07-02 18:06:01 +01:00
|
|
|
};
|
2008-07-15 10:58:30 +01:00
|
|
|
}
|