2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, bison }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "buddy";
|
|
|
|
version = "2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://sourceforge/buddy/${pname}-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0dl86l9xkl33wnkz684xa9axhcxx2zzi4q5lii0axnb9lsk81pyk";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bison ];
|
|
|
|
patches = [ ./gcc-4.3.3-fixes.patch ];
|
|
|
|
configureFlags = [ "CFLAGS=-O3" "CXXFLAGS=-O3" ];
|
|
|
|
NIX_LDFLAGS = "-lm";
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://sourceforge.net/projects/buddy/";
|
|
|
|
description = "Binary decision diagram package";
|
|
|
|
license = "as-is";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.unix; # Once had cygwin problems
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|