Files
nixpkgs/pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/pidgin-osd/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
917 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
pidgin,
xosd,
autoreconfHook,
}:
stdenv.mkDerivation rec {
pname = "pidgin-osd";
version = "0.2.0";
src = fetchFromGitHub {
owner = "edanaher";
repo = "pidgin-osd";
rev = "${pname}-${version}";
sha256 = "07wa9anz99hnv6kffpcph3fbq8mjbyq17ij977ggwgw37zb9fzb5";
};
# autoreconf is run such that it *really* wants all the files, and there's no
# default ChangeLog. So make it happy.
preAutoreconf = "touch ChangeLog";
postInstall = ''
mkdir -p $out/lib/pidgin
mv $out/lib/pidgin-osd.{la,so} $out/lib/pidgin
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
xosd
pidgin
];
meta = with lib; {
homepage = "https://github.com/mbroemme/pidgin-osd";
description = "Plugin for Pidgin which implements on-screen display via libxosd";
license = licenses.gpl3;
platforms = platforms.linux;
};
}