]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add elinks
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 22 Dec 2018 20:06:55 +0000 (21:06 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 22 Dec 2018 20:07:08 +0000 (21:07 +0100)
default.nix
fetched/elinks.json [new file with mode: 0644]

index 0dfd0076021e8eba25ea5dcb4b0aa7c40727569a..fc7d1ff5170db708c85457528441effce8802564 100644 (file)
@@ -226,6 +226,18 @@ let
     propagatedBuildInputs = old.propagatedBuildInputs ++ [ python3Packages.pyyaml ];
   });
 
+  mypkgs.elinks = elinks.overrideAttrs (old:
+    fetchedGithub ./fetched/elinks.json // rec {
+      preConfigure = ''sh autogen.sh'';
+      buildInputs = old.buildInputs ++ [ gettext automake autoconf ];
+      configureFlags = [
+        "--disable-smb" "--without-x" "--enable-cgi"
+        "--enable-leds" "--enable-256-colors"
+        "--enable-html-highlight" "--with-zlib"
+        ];
+      patches = [];
+    }
+  );
 # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh
 # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks
 in
diff --git a/fetched/elinks.json b/fetched/elinks.json
new file mode 100644 (file)
index 0000000..993bdee
--- /dev/null
@@ -0,0 +1,15 @@
+{
+  "tag": "25c2850-master",
+  "meta": {
+    "name": "elinks",
+    "url": "https://github.com/nabetaro/elinks",
+    "branch": "master"
+  },
+  "github": {
+    "owner": "nabetaro",
+    "repo": "elinks",
+    "rev": "25c2850b597ee9a89bda8920e7f3d65ac3ac7e01",
+    "sha256": "1jxb7xgawcjkb3gw4gqyw26g02709wwdbhyczfckh3l4njxhy14m",
+    "fetchSubmodules": true
+  }
+}