about summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/freebsd/pkgs/lorder.nix
blob: d1fd86ab5e463992ed7dd4c445c82d15c35d2dd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ mkDerivation
, bsdSetupHook, freebsdSetupHook
}:

mkDerivation rec {
  path = "usr.bin/lorder";
  noCC = true;
  dontBuild = true;
  installPhase = ''
    mkdir -p "$out/bin" "$man/share/man"
    mv "lorder.sh" "$out/bin/lorder"
    chmod +x "$out/bin/lorder"
    mv "lorder.1" "$man/share/man"
  '';
  nativeBuildInputs = [
    bsdSetupHook freebsdSetupHook
  ];
  buildInputs = [];
  outputs = [ "out" "man" ];
}