about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/larbs-mail/default.nix23
-rw-r--r--pkgs/mutt-wizard/default.nix5
2 files changed, 25 insertions, 3 deletions
diff --git a/pkgs/larbs-mail/default.nix b/pkgs/larbs-mail/default.nix
new file mode 100644
index 0000000..4f5b45e
--- /dev/null
+++ b/pkgs/larbs-mail/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, callPackage, buildEnv, neomutt, isync, pass, msmtp, notmuch, libnotify }:
+with stdenv.lib;
+let
+  mutt-wizard = callPackage ../mutt-wizard { };
+in
+buildEnv {
+  name = "larbs-mail";
+  paths = [
+    neomutt
+    isync
+    pass
+    msmtp
+    notmuch
+    libnotify
+  ];
+
+  meta = {
+    homepage = "https://github.com/LukeSmithXYZ/mutt-wizard";
+    description = "A system for automatically configuring mutt and isync with a simple interface and safe passwords";
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+  };
+}
diff --git a/pkgs/mutt-wizard/default.nix b/pkgs/mutt-wizard/default.nix
index c469ae5..badad4f 100644
--- a/pkgs/mutt-wizard/default.nix
+++ b/pkgs/mutt-wizard/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, isync, pass, neomutt, msmtp }:
+{ stdenv, fetchgit }:
 
 with stdenv.lib;
 
@@ -11,7 +11,6 @@ stdenv.mkDerivation rec {
     sha256 = "1bb9429wabv85zja2y89vhj15qcd10acbg5k6ylilw067wzs9ks5";
   };
 
-  buildInputs = [ isync pass neomutt msmtp ];
 
   buildPhase = ''
     sed -i 's/(PREFIX)/(out)/g' Makefile
@@ -20,7 +19,7 @@ stdenv.mkDerivation rec {
 
   meta = {
     homepage = "https://github.com/LukeSmithXYZ/mutt-wizard";
-    description = "A system for automatically configuring mutt and isync with a simple interface and safe passwords";
+    description = "A script for automatically configuring mutt";
     license = licenses.gpl3;
     platforms = platforms.linux;
   };