2021-01-21 17:00:13 +00:00
|
|
|
{ lib, 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 = {
|
2020-04-01 01:11: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
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix; # Once had cygwin problems
|
|
|
|
maintainers = [ lib.maintainers.peti ];
|
2009-07-02 17:06:01 +00:00
|
|
|
};
|
2008-07-15 09:58:30 +00:00
|
|
|
}
|