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