Merge pull request #312061 from flokli/weechat-autosort

weechatScripts.autosort: init at 3.10
This commit is contained in:
Florian Klink 2024-05-15 23:27:19 +00:00 committed by GitHub
commit b7537a8e81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, stdenv, fetchurl, weechat }:
stdenv.mkDerivation {
pname = "weechat-autosort";
version = "3.10";
src = fetchurl {
url = "https://github.com/weechat/scripts/raw/13aef991ca879fc0ff116874a45b09bc2db10607/python/autosort.py";
hash = "sha256-xuZUssjGd0l7lCx96d0V8LL+0O3zIxYlWMoDsdzwMf4=";
};
dontUnpack = true;
installPhase = ''
mkdir -p $out/share
cp $src $out/share/autosort.py
'';
passthru = {
scripts = [ "autosort.py" ];
};
meta = with lib; {
inherit (weechat.meta) platforms;
description = "autosort automatically keeps your buffers sorted and grouped by server.";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ flokli ];
};
}

View File

@ -1,6 +1,8 @@
{ callPackage, luaPackages, perlPackages, python3Packages }:
{
autosort = callPackage ./autosort { };
colorize_nicks = callPackage ./colorize_nicks { };
edit = callPackage ./edit { };