3
0
Fork 0
forked from mirrors/nixpkgs

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
    ];
  };
}
```
This commit is contained in:
Maximilian Bosch 2018-12-08 17:45:18 +01:00 committed by Jörg Thalheim
parent 91a7848fe2
commit 05882c0a74
2 changed files with 27 additions and 0 deletions

View file

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

View file

@ -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 ];
};
}