nixpkgs/pkgs/development/libraries/buddy/default.nix

27 lines
683 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, bison }:
stdenv.mkDerivation rec {
2021-06-22 14:21:29 +01:00
pname = "buddy";
version = "2.4";
src = fetchurl {
2021-06-22 14:21:29 +01:00
url = "mirror://sourceforge/buddy/${pname}-${version}.tar.gz";
sha256 = "0dl86l9xkl33wnkz684xa9axhcxx2zzi4q5lii0axnb9lsk81pyk";
};
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";
doCheck = true;
meta = {
homepage = "https://sourceforge.net/projects/buddy/";
description = "Binary decision diagram package";
license = "as-is";
platforms = lib.platforms.unix; # Once had cygwin problems
maintainers = [ lib.maintainers.peti ];
};
}