2005-09-11 15:38:59 +00:00
|
|
|
{stdenv, fetchurl} :
|
|
|
|
|
2016-01-26 03:19:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "jflex-1.6.1";
|
2005-09-11 15:38:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-01-26 03:19:18 +00:00
|
|
|
url = "http://jflex.de/${name}.tar.gz";
|
|
|
|
sha256 = "1h7q2vhb4s42g4pqz5xxxliagprray7i9krr6hyaz1mjlx7gnycq";
|
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = name;
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -a * $out
|
|
|
|
patchShebangs $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.jflex.de/;
|
|
|
|
description = "Lexical analyzer generator for Java, written in Java";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2005-09-11 15:38:59 +00:00
|
|
|
};
|
|
|
|
}
|