7 stdenv.mkDerivation rec {
11 src = with stdenv; fetchurl (
12 if isx86_64 && isLinux then {
13 url = "https://nusmv.fbk.eu/distrib/NuSMV-${version}-linux64.tar.gz";
14 sha256 = "1370x2vwjndv9ham5q399nn84hvhm1gj1k7pq576qmh4pi12xc8i";
15 } else if isx86_32 && isLinux then {
16 url = "https://nusmv.fbk.eu/distrib/NuSMV-${version}-linux32.tar.gz";
17 sha256 = "1qf41czwbqxlrmv0rv2daxgz2hljza5xks85sx3dhwpjy2iav9jb";
18 } else throw "only linux x86_64 and x86_32 are currently supported") ;
21 nativeBuildInputs = [ autoPatchelfHook ];
24 install -m755 -D bin/NuSMV $out/bin/NuSMV
25 install -m755 -D bin/ltl2smv $out/bin/ltl2smv
26 cp -r include $out/include
27 cp -r share $out/share
31 description = "New symbolic model checker for the analysis of synchronous finite-state and infinite-state systems";
32 homepage = "https://nusmv.fbk.eu/";
33 maintainers = with maintainers; [ mgttlinger ];
34 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
35 platforms = platforms.linux;