Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
912 B
Nix
44 lines
912 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
autoreconfHook,
|
|
bison,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "cocom";
|
|
version = "0.996";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/cocom/cocom-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-4UOrVW15o17zHsHiQIl8m4qNC2aT5QorbkfX/UsgBRk=";
|
|
};
|
|
|
|
env = {
|
|
RANLIB = "${stdenv.cc.targetPrefix}gcc-ranlib";
|
|
NIX_CFLAGS_COMPILE = toString [
|
|
"-Wno-error=implicit-int"
|
|
"-Wno-error=implicit-function-declaration"
|
|
];
|
|
};
|
|
|
|
autoreconfFlags = "REGEX";
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
bison
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = {
|
|
description = "Tool set oriented towards the creation of compilers";
|
|
homepage = "https://cocom.sourceforge.net/";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ puffnfresh ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|