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

32 lines
783 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ fetchurl, lib, stdenv }:
stdenv.mkDerivation rec {
pname = "ltl2ba";
2020-07-05 15:25:04 +01:00
version = "1.3";
src = fetchurl {
url = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba/${pname}-${version}.tar.gz";
2020-07-05 15:25:04 +01:00
sha256 = "1bz9gjpvby4mnvny0nmxgd81rim26mqlcnjlznnxxk99575pfa4i";
};
hardeningDisable = [ "format" ];
2016-02-07 16:34:05 +00:00
2016-03-03 07:24:00 +00: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";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.darwin ++ lib.platforms.linux;
maintainers = [ lib.maintainers.thoughtpolice ];
};
}