From 10b4690b659ec29cb135ff444f552b75cf002f2c Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 17 Oct 2022 03:25:29 +0000 Subject: [PATCH] lnch: unstable-2021-02-10 -> unstable-2021-08-15 --- pkgs/tools/misc/lnch/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/misc/lnch/default.nix b/pkgs/tools/misc/lnch/default.nix index a9c736525390..5a68c7697cc4 100644 --- a/pkgs/tools/misc/lnch/default.nix +++ b/pkgs/tools/misc/lnch/default.nix @@ -1,22 +1,23 @@ -{ lib, fetchFromGitHub, buildGoPackage }: +{ lib, fetchFromGitHub, buildGoModule }: -buildGoPackage rec { +buildGoModule rec { pname = "lnch"; - version = "unstable-2021-02-10"; - - goPackagePath = "github.com/oem/${pname}"; + version = "unstable-2021-08-15"; src = fetchFromGitHub { owner = "oem"; repo = pname; - rev = "6ed336dd893afa071178b8ac6f6297d23fc55514"; - sha256 = "K2TV+mx6C3/REJyDpC6a/Zn/ZZFxkDMC3EnkveH6YNQ="; + rev = "56b5e256b46c002821bef3b9c1b6f68b9dbb4207"; + sha256 = "sha256-Iro/FjPFMqulcK90MbludnOXkMEHW0QSCoQRL01/LDE"; }; + vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo"; + + 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; - platforms = with platforms; all; }; }