diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-24 13:32:20 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-24 13:32:20 +0100 |
commit | a98e2320b1df0dc33dc1389712dece0ab8b8975b (patch) | |
tree | d51d32081cb72343e7ed4ff971ed8c280855d7e1 | |
parent | 107eeb7cb11885e99028fb93b8ab9444dd26a380 (diff) | |
download | Nix-a98e2320b1df0dc33dc1389712dece0ab8b8975b.tar.gz Nix-a98e2320b1df0dc33dc1389712dece0ab8b8975b.tar.zst Nix-a98e2320b1df0dc33dc1389712dece0ab8b8975b.zip |
Add neomutt and nagnu
-rw-r--r-- | default.nix | 20 | ||||
-rw-r--r-- | fetched/nagnu.json | 15 |
2 files changed, 35 insertions, 0 deletions
diff --git a/default.nix b/default.nix index fc7d1ff..61b5d25 100644 --- a/default.nix +++ b/default.nix | |||
@@ -238,6 +238,25 @@ let | |||
238 | patches = []; | 238 | patches = []; |
239 | } | 239 | } |
240 | ); | 240 | ); |
241 | |||
242 | mypkgs.neomutt = neomutt.overrideAttrs (old: | ||
243 | rec { | ||
244 | buildInputs = old.buildInputs ++ [ gdbm ]; | ||
245 | configureFlags = old.configureFlags ++ [ "--gdbm" ]; | ||
246 | } | ||
247 | ); | ||
248 | |||
249 | # mypkgs.nagnu = stdenv.mkDerivation (fetchedGithub ./fetched/nagnu.json // rec { | ||
250 | # buildInputs = [ ncurses curl ]; | ||
251 | # installPhase = '' | ||
252 | # mkdir -p $out/bin | ||
253 | # cp nagnu $out/bin | ||
254 | # mkdir -p $out/share/doc/nagnu | ||
255 | # cp nagnu.conf.sample $out/share/doc/nagnu | ||
256 | # mkdir -p $out/share/man/man8 | ||
257 | # cp docs/nagnu.8 $out/share/man/man8 | ||
258 | # ''; | ||
259 | # }); | ||
241 | # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh | 260 | # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh |
242 | # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks | 261 | # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks |
243 | in | 262 | in |
@@ -276,6 +295,7 @@ in | |||
276 | inherit iotop iperf; | 295 | inherit iotop iperf; |
277 | inherit keybase; | 296 | inherit keybase; |
278 | inherit bogofilter; | 297 | inherit bogofilter; |
298 | inherit mtr; | ||
279 | # todo: lx* ?, unrar, unzip, zeromq? | 299 | # todo: lx* ?, unrar, unzip, zeromq? |
280 | #inherit nextcloud-client; | 300 | #inherit nextcloud-client; |
281 | #inherit nixos; | 301 | #inherit nixos; |
diff --git a/fetched/nagnu.json b/fetched/nagnu.json new file mode 100644 index 0000000..60a8b07 --- /dev/null +++ b/fetched/nagnu.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "c7e65fc-master", | ||
3 | "meta": { | ||
4 | "name": "nagnu", | ||
5 | "url": "https://github.com/frlen/nagnu", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "frlen", | ||
10 | "repo": "nagnu", | ||
11 | "rev": "c7e65fc02f46a3756a4cc47953ea2f3e57a84728", | ||
12 | "sha256": "1i2jm8ibvqcc734daamnzc3hx8q0nsry1x12q0kr5yvcsdjjgyy3", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||