summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/flex/flex-2.5.35.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-03-20 09:50:15 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-03-20 09:50:15 +0000
commita3ea4c135b621de706a492b427ed5bfc7fb8a5f4 (patch)
tree16a2b9660e8ccfe2fc27075e1f36ea22cd561dbe /pkgs/development/tools/parsing/flex/flex-2.5.35.nix
parentae475a72bf0304922b0a46ac828d866d9c10b30a (diff)
downloadnixlib-a3ea4c135b621de706a492b427ed5bfc7fb8a5f4.tar
nixlib-a3ea4c135b621de706a492b427ed5bfc7fb8a5f4.tar.gz
nixlib-a3ea4c135b621de706a492b427ed5bfc7fb8a5f4.tar.bz2
nixlib-a3ea4c135b621de706a492b427ed5bfc7fb8a5f4.tar.lz
nixlib-a3ea4c135b621de706a492b427ed5bfc7fb8a5f4.tar.xz
nixlib-a3ea4c135b621de706a492b427ed5bfc7fb8a5f4.tar.zst
nixlib-a3ea4c135b621de706a492b427ed5bfc7fb8a5f4.zip
Newer flex.
svn path=/nixpkgs/trunk/; revision=11213
Diffstat (limited to 'pkgs/development/tools/parsing/flex/flex-2.5.35.nix')
-rw-r--r--pkgs/development/tools/parsing/flex/flex-2.5.35.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/flex/flex-2.5.35.nix b/pkgs/development/tools/parsing/flex/flex-2.5.35.nix
new file mode 100644
index 000000000000..c200e4e7d2f7
--- /dev/null
+++ b/pkgs/development/tools/parsing/flex/flex-2.5.35.nix
@@ -0,0 +1,19 @@
+# This should be moved to default.nix eventually (?)
+
+{stdenv, fetchurl, yacc, m4}:
+
+assert yacc != null && m4 != null;
+
+stdenv.mkDerivation {
+  name = "flex-2.5.35";
+  src = fetchurl {
+    url = mirror://sourceforge/flex/flex-2.5.35.tar.bz2;
+    sha256 = "0ysff249mwhq0053bw3hxh58djc0gy7vjan2z1krrf9n5d5vvv0b";
+  };
+  buildInputs = [yacc];
+  propagatedBuildInputs = [m4];
+
+  meta = {
+    description = "A fast lexical analyser generator";
+  };
+}