2014-05-01 08:27:05 +01:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ltl2ba-${version}";
|
2018-11-19 10:28:38 +00:00
|
|
|
version = "1.2";
|
2014-05-01 08:27:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba/${name}.tar.gz";
|
2018-11-19 10:28:38 +00:00
|
|
|
sha256 = "0vzv5g7v87r41cvdafxi6yqnk7glzxrzgavy8213k59f6v11dzlx";
|
2014-05-01 08:27:05 +01:00
|
|
|
};
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 16:34:05 +00:00
|
|
|
|
2016-03-03 07:24:00 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace "CC=gcc" ""
|
|
|
|
'';
|
|
|
|
|
2014-05-01 08:27:05 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv ltl2ba $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Fast translation from LTL formulae to Buchi automata";
|
2014-05-01 08:27:05 +01:00
|
|
|
homepage = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-03-03 07:24:00 +00:00
|
|
|
platforms = stdenv.lib.platforms.darwin ++ stdenv.lib.platforms.linux;
|
2014-05-01 08:27:05 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|