Adding spin
svn path=/nixpkgs/trunk/; revision=15433
This commit is contained in:
parent
a5ebd913f3
commit
63c8ccf84c
27
pkgs/development/tools/analysis/spin/default.nix
Normal file
27
pkgs/development/tools/analysis/spin/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{stdenv, fetchurl, flex, yacc, tk }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "spin-5.1.7";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://spinroot.com/spin/Src/spin517.tar.gz;
|
||||||
|
sha256 = "03c6bmar4z13jx7dddb029f0qnmgl8x4hyfwn3qijjyd4dbliiw6";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = "cd Src*";
|
||||||
|
buildInputs = [ flex yacc tk ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir $out/bin
|
||||||
|
cp ../Xspin*/xsp* $out/bin/xspin
|
||||||
|
sed -i -e '1s@^#!/bin/sh@#!${tk}/bin/wish8.4@' \
|
||||||
|
-e '/exec wish/d' $out/bin/xspin
|
||||||
|
cp spin $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Formal verification tool for distributed software systems";
|
||||||
|
homepage = http://spinroot.com/;
|
||||||
|
license = "free";
|
||||||
|
};
|
||||||
|
}
|
@ -2588,6 +2588,10 @@ let
|
|||||||
inherit fetchurl stdenv pkgconfig;
|
inherit fetchurl stdenv pkgconfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
spin = import ../development/tools/analysis/spin {
|
||||||
|
inherit fetchurl stdenv flex yacc tk;
|
||||||
|
};
|
||||||
|
|
||||||
splint = import ../development/tools/analysis/splint {
|
splint = import ../development/tools/analysis/splint {
|
||||||
inherit fetchurl stdenv flex;
|
inherit fetchurl stdenv flex;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user