diff options
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | pkgs/larbs-mail/default.nix | 23 | ||||
-rw-r--r-- | pkgs/mutt-wizard/default.nix | 5 |
3 files changed, 26 insertions, 3 deletions
diff --git a/default.nix b/default.nix index 0e41fac..b15c9d6 100644 --- a/default.nix +++ b/default.nix @@ -23,6 +23,7 @@ xwallpaper = pkgs.callPackage ./pkgs/xwallpaper { }; libthinkpad = pkgs.callPackage ./pkgs/libthinkpad { }; dockd = pkgs.callPackage ./pkgs/dockd { }; + larbs-mail = pkgs.callPackage ./pkgs/larbs-mail { }; # xcb-util = pkgs.callPackage ./pkgs/xcb-util { }; #unknown error # amfora = pkgs.callPackage ./pkgs/amfora { }; # ... 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; }; |