nusmw: 2.6.0 -> 2.7.0 (#395267)

authored by Denis Bueno and committed by GitHub 02abef53 658d9330

+10 -10
+10 -10
pkgs/by-name/nu/nusmv/package.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "NuSMV"; 10 - version = "2.6.0"; 11 12 src = 13 with stdenv; 14 fetchurl ( 15 if isx86_64 && isLinux then 16 { 17 - url = "https://nusmv.fbk.eu/distrib/NuSMV-${version}-linux64.tar.gz"; 18 - sha256 = "1370x2vwjndv9ham5q399nn84hvhm1gj1k7pq576qmh4pi12xc8i"; 19 } 20 - else if isx86_32 && isLinux then 21 { 22 - url = "https://nusmv.fbk.eu/distrib/NuSMV-${version}-linux32.tar.gz"; 23 - sha256 = "1qf41czwbqxlrmv0rv2daxgz2hljza5xks85sx3dhwpjy2iav9jb"; 24 } 25 else 26 - throw "only linux x86_64 and x86_32 are currently supported" 27 ); 28 29 - nativeBuildInputs = [ autoPatchelfHook ]; 30 31 installPhase = '' 32 install -m755 -D bin/NuSMV $out/bin/NuSMV 33 install -m755 -D bin/ltl2smv $out/bin/ltl2smv 34 cp -r include $out/include 35 - cp -r share $out/share 36 ''; 37 38 meta = with lib; { ··· 40 homepage = "https://nusmv.fbk.eu/"; 41 maintainers = with maintainers; [ mgttlinger ]; 42 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 43 - platforms = platforms.linux; 44 }; 45 }
··· 7 8 stdenv.mkDerivation rec { 9 pname = "NuSMV"; 10 + version = "2.7.0"; 11 12 src = 13 with stdenv; 14 fetchurl ( 15 if isx86_64 && isLinux then 16 { 17 + url = "https://nusmv.fbk.eu/distrib/${version}/NuSMV-${version}-linux64.tar.xz"; 18 + sha256 = "019d1pa5aw58n11is1024hs8d520b3pp2iyix78vp04yv7wd42l8"; 19 } 20 + else if isx86_64 && isDarwin then 21 { 22 + url = "https://nusmv.fbk.eu/distrib/${version}/NuSMV-${version}-macos-universal.tar.xz"; 23 + sha256 = "098wllv4yx284qv9nsi8kd5pgh10cr1hig01a1p2rxgfmrki52wm"; 24 } 25 else 26 + throw "only linux and mac x86_64 are currently supported" 27 ); 28 29 + nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 30 31 installPhase = '' 32 install -m755 -D bin/NuSMV $out/bin/NuSMV 33 install -m755 -D bin/ltl2smv $out/bin/ltl2smv 34 cp -r include $out/include 35 + cp -r lib $out/lib 36 ''; 37 38 meta = with lib; { ··· 40 homepage = "https://nusmv.fbk.eu/"; 41 maintainers = with maintainers; [ mgttlinger ]; 42 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 43 + platforms = platforms.linux ++ platforms.darwin; 44 }; 45 }