mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
32 lines
806 B
Nix
32 lines
806 B
Nix
{ fetchurl, 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";
|
|
homepage = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.darwin ++ stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
};
|
|
}
|