diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-26 13:52:30 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-26 13:57:04 +0200 |
commit | 676e68e3394eeb07a02745d1cf191db9fee9e610 (patch) | |
tree | 973c57072eb9b784adab83fab8748d05a7ffc9c3 /overlays/elinks | |
parent | 98de2045a749b25d031b174c940096b4f5406b9d (diff) | |
download | Nix-676e68e3394eeb07a02745d1cf191db9fee9e610.tar.gz Nix-676e68e3394eeb07a02745d1cf191db9fee9e610.tar.zst Nix-676e68e3394eeb07a02745d1cf191db9fee9e610.zip |
Use overlays for package overrides
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 | } | ||