summary refs log tree commit diff
path: root/pkgs/tools/misc/lnch/default.nix
blob: 70d52d2ea8bd5f8b189f237e185b264947f2d0cd (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
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
  pname = "lnch";
  version = "unstable-2021-08-15";

  src = fetchFromGitHub {
    owner = "oem";
    repo = pname;
    rev = "56b5e256b46c002821bef3b9c1b6f68b9dbb4207";
    sha256 = "sha256-Iro/FjPFMqulcK90MbludnOXkMEHW0QSCoQRL01/LDE";
  };

  vendorHash = null;

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    homepage = "https://github.com/oem/lnch";
    description = "Launches a process and moves it out of the process group";
    license = licenses.mit;
  };
}