mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
37 lines
762 B
Nix
37 lines
762 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
weechat,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "edit-weechat";
|
|
version = "1.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "keith";
|
|
repo = "edit-weechat";
|
|
rev = version;
|
|
sha256 = "1s42r0l0xkhlp6rbc23cm4vlda91il6cg53w33hqfhd2wz91s66w";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
passthru.scripts = [ "edit.py" ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -D edit.py $out/share/edit.py
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
inherit (weechat.meta) platforms;
|
|
description = "This simple weechat plugin allows you to compose messages in your $EDITOR";
|
|
homepage = "https://github.com/keith/edit-weechat";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ eraserhd ];
|
|
};
|
|
}
|