mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
jflex: 1.4.3 -> 1.6.1
This commit is contained in:
parent
9e56b18cde
commit
663cbd16b8
@ -1,6 +0,0 @@
|
||||
set -e
|
||||
source $stdenv/setup
|
||||
|
||||
tar zxvf $src
|
||||
mkdir -p $out
|
||||
mv $name/* $out
|
@ -1,11 +1,26 @@
|
||||
{stdenv, fetchurl} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "jflex-1.4.3";
|
||||
builder = ./builder.sh;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jflex-1.6.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://jflex.de/jflex-1.4.3.tar.gz;
|
||||
sha256 = "0sm74sgjvw01fsiqr5q9ipbm8rfyihf6yn00dqymhyc3wmbhr517";
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user