nixpkgs/pkgs/applications/science/logic/mcrl2/default.nix
Sergei Trofimovich d952b5884c mcrl2: 202206 -> 202307
Among other things fixes `gcc-13` build fix as
https://hydra.nixos.org/build/247554470:

    In file included from /build/mcrl2-202206.1/libraries/utilities/source/bitstream.cpp:10:
    /build/mcrl2-202206.1/libraries/utilities/include/mcrl2/utilities/bitstream.h:56:25: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
       56 |   void write(const std::uint8_t* buffer, std::size_t size);
          |                         ^~~~~~~
          |                         wint_t
2024-02-10 10:14:43 +00:00

31 lines
936 B
Nix

{lib, stdenv, fetchurl, cmake, libGLU, libGL, qt5, boost}:
stdenv.mkDerivation rec {
version = "202307";
build_nr = "1";
pname = "mcrl2";
src = fetchurl {
url = "https://www.mcrl2.org/download/release/mcrl2-${version}.${build_nr}.tar.gz";
hash = "sha256-zCHCO8tGyOxqUc0x3t/N3dUh4eG7slemlgK/QZsA4JA=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libGLU libGL qt5.qtbase boost ];
dontWrapQtApps = true;
meta = with lib; {
broken = stdenv.isDarwin;
description = "A toolset for model-checking concurrent systems and protocols";
longDescription = ''
A formal specification language with an associated toolset,
that can be used for modelling, validation and verification of
concurrent systems and protocols
'';
homepage = "https://www.mcrl2.org/";
license = licenses.boost;
maintainers = with maintainers; [ moretea ];
platforms = platforms.unix;
};
}