nixpkgs/pkgs/applications/science/logic/ltl2ba/default.nix

32 lines
797 B
Nix
Raw Normal View History

{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "ltl2ba-${version}";
version = "1.1";
src = fetchurl {
url = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba/${name}.tar.gz";
sha256 = "16z0gc7a9dkarwn0l6rvg5jdhw1q4qyn4501zlchy0zxqddz0sx6";
};
2016-02-07 17:34:05 +01:00
hardening_format = false;
2016-03-03 08:24:00 +01:00
preConfigure = ''
substituteInPlace Makefile \
--replace "CC=gcc" ""
'';
installPhase = ''
mkdir -p $out/bin
mv ltl2ba $out/bin
'';
meta = {
description = "fast translation from LTL formulae to Buchi automata";
homepage = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba";
license = stdenv.lib.licenses.gpl2Plus;
2016-03-03 08:24:00 +01:00
platforms = stdenv.lib.platforms.darwin ++ stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}