mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
f79f80dbf2
Negative reasoning like `allBut` is a bad idea with an open world of platforms. Concretely, if we add a new, quite different sort of platform, existing packages with `allBut` will claim they work on it even though they probably won't.
25 lines
633 B
Nix
25 lines
633 B
Nix
{ stdenv, fetchurl, bison }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "buddy-2.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/buddy/${name}.tar.gz";
|
|
sha256 = "0dl86l9xkl33wnkz684xa9axhcxx2zzi4q5lii0axnb9lsk81pyk";
|
|
};
|
|
|
|
buildInputs = [ bison ];
|
|
patches = [ ./gcc-4.3.3-fixes.patch ];
|
|
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3";
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = https://sourceforge.net/projects/buddy/;
|
|
description = "Binary decision diagram package";
|
|
license = "as-is";
|
|
|
|
platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
|
};
|
|
}
|