diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-15 21:08:50 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-15 21:08:50 +0200 |
commit | 151f929170ee4c983d44fc794c99e27f0ac4f4ae (patch) | |
tree | 1571a7321e254740041e111aafb3164dfa063ca0 /pkgs/larbs-mail/mutt-wizard.nix | |
parent | f9aff5225e3afcf6c44abf0e8d94440108ac52fc (diff) | |
download | pnpkgs-151f929170ee4c983d44fc794c99e27f0ac4f4ae.tar.gz pnpkgs-151f929170ee4c983d44fc794c99e27f0ac4f4ae.zip |
Add larbs-mail
Diffstat (limited to 'pkgs/larbs-mail/mutt-wizard.nix')
-rw-r--r-- | pkgs/larbs-mail/mutt-wizard.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/larbs-mail/mutt-wizard.nix b/pkgs/larbs-mail/mutt-wizard.nix new file mode 100644 index 0000000..aa6d533 --- /dev/null +++ b/pkgs/larbs-mail/mutt-wizard.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchgit }: + +with stdenv.lib; + +stdenv.mkDerivation rec { + name = "mutt-wizard"; + + src = fetchgit { + url = "https://github.com/LukeSmithXYZ/mutt-wizard"; + rev = "289533279b21f0fc6ecbdf03ebde2a67741e3ded"; + sha256 = "1bb9429wabv85zja2y89vhj15qcd10acbg5k6ylilw067wzs9ks5"; + }; + + buildPhase = '' + sed -i 's/(PREFIX)/(out)/g' Makefile + sed -i 's:mwconfig="\$muttshare/mutt-wizard.muttrc":mwconfig=/etc/neomuttrc:' bin/mw + make PREFIX=$out SHELL=$SHELL install + ''; + + meta = { + homepage = "https://github.com/LukeSmithXYZ/mutt-wizard"; + description = "A script for automatically configuring mutt"; + license = licenses.gpl3; + platforms = platforms.linux; + }; +} |