2014-07-14 19:56:57 +02:00
|
|
|
{stdenv, fetchurl, yacc }:
|
2009-05-03 16:35:43 +02:00
|
|
|
|
2014-07-14 19:56:57 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "spin-${version}";
|
2014-10-06 11:18:49 +02:00
|
|
|
version = "6.4.1";
|
|
|
|
url-version = stdenv.lib.replaceChars ["."] [""] version;
|
2009-05-03 16:35:43 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-10-06 11:18:49 +02:00
|
|
|
url = "http://spinroot.com/spin/Src/spin${url-version}.tar.gz";
|
2014-07-14 19:56:57 +02:00
|
|
|
curlOpts = "--user-agent 'Mozilla/5.0'";
|
2014-10-06 11:18:49 +02:00
|
|
|
sha256 = "02r2jazb2hnhcqcjnmlj6sjd9dvyfalgi99bzncwfadixf3hmpvn";
|
2009-05-03 16:35:43 +02:00
|
|
|
};
|
|
|
|
|
2014-07-14 19:56:57 +02:00
|
|
|
buildInputs = [ yacc ];
|
2009-05-03 16:35:43 +02:00
|
|
|
|
2014-07-14 19:56:57 +02:00
|
|
|
sourceRoot = "Spin/Src${version}";
|
|
|
|
|
|
|
|
installPhase = "install -D spin $out/bin/spin";
|
2009-05-03 16:35:43 +02:00
|
|
|
|
2014-10-06 11:18:49 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-05-03 16:35:43 +02:00
|
|
|
description = "Formal verification tool for distributed software systems";
|
|
|
|
homepage = http://spinroot.com/;
|
|
|
|
license = "free";
|
2014-10-06 11:18:49 +02:00
|
|
|
maintainers = with maintainers; [ mornfall pSub ];
|
2009-05-03 16:35:43 +02:00
|
|
|
};
|
|
|
|
}
|