6 stdenv.mkDerivation rec {
10 outputs = ["out" "lib" "man" "info"];
13 url = "mirror://gnu/cim/cim-${version}.tar.gz";
14 hash = "sha256-uQcXtm7EAFA73WnlN+i38+ip0QbDupoIoErlc2mgaak=";
18 for fname in lib/{simulation,simset}.c; do
19 substituteInPlace "$fname" \
21 '#include "../../lib/cim.h"' \
22 '#include "../lib/cim.h"'
26 env.CFLAGS = lib.optionalString stdenv.cc.isClang "-Wno-return-type -Wno-error=implicit-function-declaration -Wno-error=implicit-int";
31 description = "GNU compiler for the programming language Simula";
33 GNU Cim is a compiler for the programming language Simula.
34 It offers a class concept, separate compilation with full type checking,
35 interface to external C routines, an application package for process
36 simulation and a coroutine concept. Commonly used with the Demos for
37 discrete event modelling.
39 homepage = "https://www.gnu.org/software/cim/";
40 license = licenses.gpl2;
41 platforms = platforms.all;
42 badPlatforms = [ "aarch64-darwin" ];
43 maintainers = with maintainers; [ pbsds ];