diff options
-rw-r--r-- | default.nix | 12 | ||||
-rw-r--r-- | fetched/elinks.json | 15 |
2 files changed, 27 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 0dfd007..fc7d1ff 100644 --- a/default.nix +++ b/default.nix | |||
@@ -226,6 +226,18 @@ let | |||
226 | propagatedBuildInputs = old.propagatedBuildInputs ++ [ python3Packages.pyyaml ]; | 226 | propagatedBuildInputs = old.propagatedBuildInputs ++ [ python3Packages.pyyaml ]; |
227 | }); | 227 | }); |
228 | 228 | ||
229 | mypkgs.elinks = elinks.overrideAttrs (old: | ||
230 | fetchedGithub ./fetched/elinks.json // rec { | ||
231 | preConfigure = ''sh autogen.sh''; | ||
232 | buildInputs = old.buildInputs ++ [ gettext automake autoconf ]; | ||
233 | configureFlags = [ | ||
234 | "--disable-smb" "--without-x" "--enable-cgi" | ||
235 | "--enable-leds" "--enable-256-colors" | ||
236 | "--enable-html-highlight" "--with-zlib" | ||
237 | ]; | ||
238 | patches = []; | ||
239 | } | ||
240 | ); | ||
229 | # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh | 241 | # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh |
230 | # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks | 242 | # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks |
231 | in | 243 | in |
diff --git a/fetched/elinks.json b/fetched/elinks.json new file mode 100644 index 0000000..993bdee --- /dev/null +++ b/fetched/elinks.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "25c2850-master", | ||
3 | "meta": { | ||
4 | "name": "elinks", | ||
5 | "url": "https://github.com/nabetaro/elinks", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "nabetaro", | ||
10 | "repo": "elinks", | ||
11 | "rev": "25c2850b597ee9a89bda8920e7f3d65ac3ac7e01", | ||
12 | "sha256": "1jxb7xgawcjkb3gw4gqyw26g02709wwdbhyczfckh3l4njxhy14m", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||