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