mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
jflex: 1.6.1 -> 1.7.0
This commit is contained in:
parent
33326bee7f
commit
02212e1d02
@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurl} :
|
||||
{stdenv, fetchurl, jre} :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jflex-1.6.1";
|
||||
name = "jflex-1.7.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://jflex.de/release/${name}.tar.gz";
|
||||
sha256 = "1h7q2vhb4s42g4pqz5xxxliagprray7i9krr6hyaz1mjlx7gnycq";
|
||||
sha256 = "1k7bqw1mn569g9dxc0ia3yz1bzgzs5w52lh1xn3hgj7k5ymh54kk";
|
||||
};
|
||||
|
||||
sourceRoot = name;
|
||||
@ -15,7 +15,10 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -a * $out
|
||||
rm -f $out/bin/jflex.bat
|
||||
|
||||
patchShebangs $out
|
||||
sed -i -e '/^JAVA=java/ s#java#${jre}/bin/java#' $out/bin/jflex
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user