diff options
Diffstat (limited to 'overlays/elinks')
-rw-r--r-- | overlays/elinks/default.nix | 14 | ||||
-rw-r--r-- | overlays/elinks/elinks.json | 15 |
2 files changed, 29 insertions, 0 deletions
diff --git a/overlays/elinks/default.nix b/overlays/elinks/default.nix new file mode 100644 index 0000000..1744dc0 --- /dev/null +++ b/overlays/elinks/default.nix | |||
@@ -0,0 +1,14 @@ | |||
1 | self: super: { | ||
2 | elinks = super.elinks.overrideAttrs (old: | ||
3 | self.mylibs.fetchedGithub ./elinks.json // rec { | ||
4 | preConfigure = ''sh autogen.sh''; | ||
5 | buildInputs = old.buildInputs ++ (with self; [ gettext automake autoconf ]); | ||
6 | configureFlags = [ | ||
7 | "--disable-smb" "--without-x" "--enable-cgi" | ||
8 | "--enable-leds" "--enable-256-colors" | ||
9 | "--enable-html-highlight" "--with-zlib" | ||
10 | ]; | ||
11 | patches = []; | ||
12 | } | ||
13 | ); | ||
14 | } | ||
diff --git a/overlays/elinks/elinks.json b/overlays/elinks/elinks.json new file mode 100644 index 0000000..ea13b1f --- /dev/null +++ b/overlays/elinks/elinks.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "f86be65-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": "f86be659718c0cd0a67f88b42f07044c23d0d028", | ||
12 | "sha256": "1jxb7xgawcjkb3gw4gqyw26g02709wwdbhyczfckh3l4njxhy14m", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||