nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildGoModule,
5}:
6
7buildGoModule {
8 pname = "lnch";
9 version = "0-unstable-2021-08-15";
10
11 src = fetchFromGitHub {
12 owner = "oem";
13 repo = "lnch";
14 rev = "56b5e256b46c002821bef3b9c1b6f68b9dbb4207";
15 sha256 = "sha256-Iro/FjPFMqulcK90MbludnOXkMEHW0QSCoQRL01/LDE";
16 };
17
18 vendorHash = null;
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = {
26 homepage = "https://github.com/oem/lnch";
27 description = "Launches a process and moves it out of the process group";
28 license = lib.licenses.mit;
29 mainProgram = "lnch";
30 };
31}