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