about summary refs log tree commit diff
path: root/pkgs/larbs-mail/mailbox-script.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-17 15:27:07 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-17 15:27:07 +0200
commitcd555e475962755e83d04da6616e5955b572bc5e (patch)
tree0e84cede941dfceb1a7625d7963e1afbd38a451d /pkgs/larbs-mail/mailbox-script.nix
parent2421795a0a8e91f0acd2fb355ec62d2a200d97b3 (diff)
downloadpnpkgs-cd555e475962755e83d04da6616e5955b572bc5e.tar.gz
pnpkgs-cd555e475962755e83d04da6616e5955b572bc5e.zip
Add mailbox
Diffstat (limited to 'pkgs/larbs-mail/mailbox-script.nix')
-rw-r--r--pkgs/larbs-mail/mailbox-script.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/larbs-mail/mailbox-script.nix b/pkgs/larbs-mail/mailbox-script.nix
new file mode 100644
index 0000000..6058069
--- /dev/null
+++ b/pkgs/larbs-mail/mailbox-script.nix
@@ -0,0 +1,15 @@
+{ stdenv, fetchgit }:
+stdenv.mkDerivation {
+  name = "mailbox";
+
+  src = fetchgit {
+    url = "https://github.com/LukeSmithxyz/voidrice";
+    rev = "426979aa7250e1d09b1f6044020d3f2b538425a9";
+    sha256 = "0pjg3wf4x2r1mzvljjfm42fpc5y6131n0a7wvsikpr9gdhcv9h30";
+  };
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp .local/bin/statusbar/mailbox $out/bin/mailbox
+  '';
+}