weechatScripts.weechat-autosort: init at unstable-2018-01-11 (#51729)

Helpful weechat script to automatically keep buffers sorted.

Can be activated like this:

``` nix
weechat.override {
  configure = { ... }: {
    scripts = [
      weechatScripts.weechat-autosort
    ];
  };
}
```
wip/yesman
Maximilian Bosch 6 years ago committed by Jörg Thalheim
parent 91a7848fe2
commit 05882c0a74
  1. 2
      pkgs/applications/networking/irc/weechat/scripts/default.nix
  2. 25
      pkgs/applications/networking/irc/weechat/scripts/weechat-autosort/default.nix

@ -12,4 +12,6 @@
wee-slack = callPackage ./wee-slack {
inherit pythonPackages;
};
weechat-autosort = callPackage ./weechat-autosort { };
}

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "weechat-autosort-${version}";
version = "unstable-2018-01-11";
src = fetchFromGitHub {
owner = "de-vri-es";
repo = "weechat-autosort";
rev = "35ccd6335afd78ae8a6e050ed971d54c8524e37e";
sha256 = "1rgws960xys65cd1m529csalcgny87h7fkiwjv1yj9rpqp088z26";
};
passthru.scripts = [ "autosort.py" ];
installPhase = ''
install -D autosort.py $out/share/autosort.py
'';
meta = with stdenv.lib; {
description = "Autosort is a weechat script to automatically or manually keep your buffers sorted";
homepage = https://github.com/de-vri-es/weechat-autosort;
license = licenses.gpl3;
maintainers = with maintainers; [ ma27 ];
};
}
Loading…
Cancel
Save