1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 21:54:10 +00:00
nixpkgs/pkgs/development/libraries/java/jflex/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

28 lines
576 B
Nix

{stdenv, fetchurl} :
stdenv.mkDerivation rec {
name = "jflex-1.6.1";
src = fetchurl {
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;
platforms = stdenv.lib.platforms.unix;
};
}