aboutsummaryrefslogblamecommitdiff
path: root/pkgs/nagnu/default.nix
blob: 2b9c0ecc6ccaa67051b8412202e718d0ed788524 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                               









                                             
{ stdenv, mylibs, ncurses, curl }:
stdenv.mkDerivation (mylibs.fetchedGithub ./nagnu.json // rec {
  buildInputs = [ ncurses curl ];
  installPhase = ''
    mkdir -p $out/bin
    cp nagnu $out/bin
    mkdir -p $out/share/doc/nagnu
    cp nagnu.conf.sample $out/share/doc/nagnu
    mkdir -p $out/share/man/man8
    cp docs/nagnu.8 $out/share/man/man8
    '';
})