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