587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
32 lines
811 B
Nix
32 lines
811 B
Nix
{ fetchurl, lib, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ltl2ba";
|
|
version = "1.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba/${pname}-${version}.tar.gz";
|
|
sha256 = "1bz9gjpvby4mnvny0nmxgd81rim26mqlcnjlznnxxk99575pfa4i";
|
|
};
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
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";
|
|
mainProgram = "ltl2ba";
|
|
homepage = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.darwin ++ lib.platforms.linux;
|
|
maintainers = [ lib.maintainers.thoughtpolice ];
|
|
};
|
|
}
|