tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nusmv: init at 2.6.0
Merlin Göttlinger
3 years ago
9310061a
5f223154
+39
2 changed files
expand all
collapse all
unified
split
pkgs
applications
science
logic
nusmv
default.nix
top-level
all-packages.nix
+37
pkgs/applications/science/logic/nusmv/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv
2
+
, lib
3
+
, fetchurl
4
+
, autoPatchelfHook
5
+
}:
6
+
7
+
stdenv.mkDerivation rec {
8
+
pname = "NuSMV";
9
+
version = "2.6.0";
10
+
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") ;
19
+
20
+
21
+
nativeBuildInputs = [ autoPatchelfHook ];
22
+
23
+
installPhase = ''
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
28
+
'';
29
+
30
+
meta = with lib; {
31
+
description = "A new symbolic model checker for the analysis of synchronous finite-state and infinite-state systems";
32
+
homepage = "https://nuxmv.fbk.eu/pmwiki.php";
33
+
maintainers = with maintainers; [ mgttlinger ];
34
+
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
35
+
platforms = platforms.linux;
36
+
};
37
+
}
+2
pkgs/top-level/all-packages.nix
···
35254
35255
monosat = callPackage ../applications/science/logic/monosat {};
35256
0
0
35257
nuXmv = callPackage ../applications/science/logic/nuXmv {};
35258
35259
opensmt = callPackage ../applications/science/logic/opensmt { };
···
35254
35255
monosat = callPackage ../applications/science/logic/monosat {};
35256
35257
+
nusmv = callPackage ../applications/science/logic/nusmv { };
35258
+
35259
nuXmv = callPackage ../applications/science/logic/nuXmv {};
35260
35261
opensmt = callPackage ../applications/science/logic/opensmt { };