about summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/netbsd/pkgs/tic.nix
blob: 42772d1d712858cf521a73a21e796318044e5a13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  mkDerivation,
  bsdSetupHook,
  netbsdSetupHook,
  makeMinimal,
  install,
  mandoc,
  groff,
  nbperf,
  compatIfNeeded,
  defaultMakeFlags,
  libterminfo,
}:

mkDerivation {
  path = "tools/tic";
  HOSTPROG = "tic";
  buildInputs = compatIfNeeded;
  nativeBuildInputs = [
    bsdSetupHook
    netbsdSetupHook
    makeMinimal
    install
    mandoc
    groff
    nbperf
  ];
  makeFlags = defaultMakeFlags ++ [ "TOOLDIR=$(out)" ];
  extraPaths = [
    libterminfo.path
    "usr.bin/tic"
    "tools/Makefile.host"
  ];
}