blob: c7a11621d9bb1bff4bfa5ebc7bc043593f347a67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ stdenv, fetchFromGitHub, ncurses, curl }:
stdenv.mkDerivation (rec {
pname = "nagnu";
version = "c7e65fc-master";
src = fetchFromGitHub {
owner = "frlen";
repo = "nagnu";
rev = "c7e65fc02f46a3756a4cc47953ea2f3e57a84728";
sha256 = "1i2jm8ibvqcc734daamnzc3hx8q0nsry1x12q0kr5yvcsdjjgyy3";
fetchSubmodules = true;
};
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
'';
})
|