summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/flex/2.5.35.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/parsing/flex/2.5.35.nix')
-rw-r--r--pkgs/development/tools/parsing/flex/2.5.35.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/tools/parsing/flex/2.5.35.nix b/pkgs/development/tools/parsing/flex/2.5.35.nix
index 19bc9cf1b854..f3357de867ea 100644
--- a/pkgs/development/tools/parsing/flex/2.5.35.nix
+++ b/pkgs/development/tools/parsing/flex/2.5.35.nix
@@ -1,16 +1,14 @@
-{ stdenv, fetchurl, bison, m4 }:
+{ stdenv, fetchurl, autoreconfHook, flex, bison, texinfo, help2man, m4 }:
 
 stdenv.mkDerivation rec {
   name = "flex-2.5.35";
 
   src = fetchurl {
-    # Deleted from original SourceForge and GitHub only provides generated file.
-    # Note: binary cache still seems to serve it, too.
-    url = "http://downloads.openwrt.org/sources/${name}.tar.bz2";
-    sha256 = "0ysff249mwhq0053bw3hxh58djc0gy7vjan2z1krrf9n5d5vvv0b";
+    url = https://github.com/westes/flex/archive/flex-2-5-35.tar.gz;
+    sha256 = "0wh06nix8bd4w1aq4k2fbbkdq5i30a9lxz3xczf3ff28yy0kfwzm";
   };
 
-  buildInputs = [ bison ];
+  nativeBuildInputs = [ flex bison texinfo help2man autoreconfHook ];
 
   propagatedNativeBuildInputs = [ m4 ];