mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
Merge pull request #312061 from flokli/weechat-autosort
weechatScripts.autosort: init at 3.10
This commit is contained in:
commit
b7537a8e81
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,6 +1,8 @@
|
|||||||
{ callPackage, luaPackages, perlPackages, python3Packages }:
|
{ callPackage, luaPackages, perlPackages, python3Packages }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
autosort = callPackage ./autosort { };
|
||||||
|
|
||||||
colorize_nicks = callPackage ./colorize_nicks { };
|
colorize_nicks = callPackage ./colorize_nicks { };
|
||||||
|
|
||||||
edit = callPackage ./edit { };
|
edit = callPackage ./edit { };
|
||||||
|
Loading…
Reference in New Issue
Block a user