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