summaryrefslogtreecommitdiff
path: root/pkgs/nagnu
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-13 21:25:24 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-24 01:40:13 +0200
commit24fd1fe6c62b7a9fc347794fde043285da272f5c (patch)
tree65557bf1d241ca389b619dbd24d18d51932ee030 /pkgs/nagnu
downloadNUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip
Initial commit published for NUR
Diffstat (limited to 'pkgs/nagnu')
-rw-r--r--pkgs/nagnu/default.nix12
-rw-r--r--pkgs/nagnu/nagnu.json15
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/nagnu/default.nix b/pkgs/nagnu/default.nix
new file mode 100644
index 00000000..2b9c0ecc
--- /dev/null
+++ b/pkgs/nagnu/default.nix
@@ -0,0 +1,12 @@
1{ stdenv, mylibs, ncurses, curl }:
2stdenv.mkDerivation (mylibs.fetchedGithub ./nagnu.json // rec {
3 buildInputs = [ ncurses curl ];
4 installPhase = ''
5 mkdir -p $out/bin
6 cp nagnu $out/bin
7 mkdir -p $out/share/doc/nagnu
8 cp nagnu.conf.sample $out/share/doc/nagnu
9 mkdir -p $out/share/man/man8
10 cp docs/nagnu.8 $out/share/man/man8
11 '';
12})
diff --git a/pkgs/nagnu/nagnu.json b/pkgs/nagnu/nagnu.json
new file mode 100644
index 00000000..60a8b079
--- /dev/null
+++ b/pkgs/nagnu/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}