about summary refs log tree commit diff
path: root/pkgs/tools/misc/lnch
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2020-05-23 12:43:00 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2020-05-23 12:48:37 -0300
commit6cbffb93ef91a870ed64ddb292b99051bf39312d (patch)
tree35f4e87b47d7b97284e12a6501aa78942d73fec3 /pkgs/tools/misc/lnch
parentcac4473b97834b48444e56bb2cec0771d1135725 (diff)
lnch: init at 2017-02-16
lnch is a small go app that launches a process and moves it out of the process
group. It is useful to some scripts that need to launch a process without
killing the previous one, like custom script app launchers for lightweight
window managers.
Diffstat (limited to 'pkgs/tools/misc/lnch')
-rw-r--r--pkgs/tools/misc/lnch/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/misc/lnch/default.nix b/pkgs/tools/misc/lnch/default.nix
new file mode 100644
index 0000000000000..56372f5c0274a
--- /dev/null
+++ b/pkgs/tools/misc/lnch/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchFromGitHub, buildGoPackage }:
+
+buildGoPackage rec {
+  pname = "lnch";
+  version = "2017-02-16";
+
+  goPackagePath = "github.com/oem/${pname}";
+
+  src = fetchFromGitHub {
+    owner = "oem";
+    repo = pname;
+    rev = "f24eed5392f01d2c8a9cfe9cdf70dcfbbf4b6b36";
+    sha256 = "0skzrjnbxq1yj7y64cq7angp4wqnrgw1xp9v8vw9zp8f8zwmpy0y";
+  };
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/mitchellh/gox";
+    description = "A small go app that launches a process and moves it out of the process group";
+    platforms = platforms.all;
+    license = licenses.publicDomain; # really I don't know
+  };
+}