mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
33 lines
657 B
Nix
33 lines
657 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "weechat-zncplayback";
|
|
version = "0.2.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/weechat/scripts/raw/bcc9643136addd2cd68ac957dd64e336e4f88aa1/python/zncplayback.py";
|
|
sha256 = "1k32p6naxg40g664ip48zvm61xza7l9az3v3rawmjw97i0mwz7y3";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share
|
|
cp $src $out/share/zncplayback.py
|
|
'';
|
|
|
|
passthru = {
|
|
scripts = [ "zncplayback.py" ];
|
|
};
|
|
|
|
meta = {
|
|
description = "Add support for the ZNC Playback module";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ qyliss ];
|
|
};
|
|
}
|