2022-10-17 03:25:29 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-05-23 15:43:00 +00:00
|
|
|
|
2022-10-17 03:25:29 +00:00
|
|
|
buildGoModule rec {
|
2020-05-23 15:43:00 +00:00
|
|
|
pname = "lnch";
|
2022-10-17 03:25:29 +00:00
|
|
|
version = "unstable-2021-08-15";
|
2020-05-23 15:43:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "oem";
|
|
|
|
repo = pname;
|
2022-10-17 03:25:29 +00:00
|
|
|
rev = "56b5e256b46c002821bef3b9c1b6f68b9dbb4207";
|
|
|
|
sha256 = "sha256-Iro/FjPFMqulcK90MbludnOXkMEHW0QSCoQRL01/LDE";
|
2020-05-23 15:43:00 +00:00
|
|
|
};
|
|
|
|
|
2023-02-03 05:06:34 +00:00
|
|
|
vendorSha256 = null;
|
2022-10-17 03:25:29 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-05-23 22:18:03 +00:00
|
|
|
homepage = "https://github.com/oem/lnch";
|
2021-02-10 15:26:57 +00:00
|
|
|
description = "Launches a process and moves it out of the process group";
|
|
|
|
license = licenses.mit;
|
2020-05-23 15:43:00 +00:00
|
|
|
};
|
|
|
|
}
|