about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/old/linkhandler.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/larbs-scripts/old/linkhandler.nix')
-rw-r--r--pkgs/larbs-scripts/old/linkhandler.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/larbs-scripts/old/linkhandler.nix b/pkgs/larbs-scripts/old/linkhandler.nix
new file mode 100644
index 0000000..ad451a6
--- /dev/null
+++ b/pkgs/larbs-scripts/old/linkhandler.nix
@@ -0,0 +1,18 @@
+{ stdenv, callPackage }:
+let
+  voidrice = callPackage ../voidrice.nix { };
+in
+  stdenv.mkDerivation {
+    name = "linkhandler";
+    src = voidrice;
+
+    installPhase = ''
+      mkdir -p $out/bin
+      cp ${voidrice}/.local/bin/linkhandler $out/bin/linkhandler
+    '';
+
+    meta = {
+      description = "Link handler";
+      homepage = "https://github.com/LukeSmithXYZ/voidrice";
+    };
+  }