]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - pkgs/nagnu/default.nix
Move personal websites to modules
[perso/Immae/Config/Nix.git] / pkgs / nagnu / default.nix
CommitLineData
dff8b593
IB
1{ stdenv, mylibs, ncurses, curl }:
2stdenv.mkDerivation (mylibs.fetchedGithub ./nagnu.json // rec {
a2230e84
IB
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})