]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add some new programs: weechat profanity ranger
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 19 Dec 2018 17:48:40 +0000 (18:48 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 19 Dec 2018 17:48:40 +0000 (18:48 +0100)
default.nix

index 5227b47df06d030de89ab71808b9a2a08f56c6f7..4592eefe2bcff94d6518aa6f72075c0e3c7c8afa 100644 (file)
@@ -69,7 +69,23 @@ let
     }
   );
 
-  #weechat = callPackage nixpkgs.weechat { guileSupport = false; luaSupport = false; rubySupport = false; tclSupport = false; };
+  profanity = (nixpkgs.profanity.override {
+    notifySupport = true;
+    inherit libnotify gpgme gdk_pixbuf;
+    python = python3;
+  }).overrideAttrs (oldAttrs: rec {
+    configureFlags = oldAttrs.configureFlags ++ [ "--enable-plugins" ];
+  });
+
+  weechat = nixpkgs.weechat.override {
+    configure = { availablePlugins, ... }: {
+      plugins = with availablePlugins; [
+         (python.withPackages (ps: with ps; [websocket_client emoji]))
+         perl
+        ];
+    };
+  };
+
 in
   {
     inherit nix-prefetch-scripts;
@@ -90,5 +106,8 @@ in
     inherit xmr-stak;
     inherit urlwatch;
     inherit pass;
+    inherit ranger;
+    inherit profanity;
+    inherit weechat;
     #inherit nixos;
   }