tmuxPlugins.catppucin: unstable-2024-05-16 -> 2.1.2 (#379030)
[NixPkgs.git] / pkgs / applications / networking / instant-messengers / pidgin / pidgin-plugins / pidgin-osd / default.nix
blobbc3d98542a7229ed3dca4dcf99b92668ad9eab2f
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   pidgin,
6   xosd,
7   autoreconfHook,
8 }:
10 stdenv.mkDerivation rec {
11   pname = "pidgin-osd";
12   version = "0.2.0";
13   src = fetchFromGitHub {
14     owner = "edanaher";
15     repo = "pidgin-osd";
16     rev = "${pname}-${version}";
17     sha256 = "07wa9anz99hnv6kffpcph3fbq8mjbyq17ij977ggwgw37zb9fzb5";
18   };
20   # autoreconf is run such that it *really* wants all the files, and there's no
21   # default ChangeLog.  So make it happy.
22   preAutoreconf = "touch ChangeLog";
24   postInstall = ''
25     mkdir -p $out/lib/pidgin
26     mv $out/lib/pidgin-osd.{la,so} $out/lib/pidgin
27   '';
29   nativeBuildInputs = [ autoreconfHook ];
30   buildInputs = [
31     xosd
32     pidgin
33   ];
35   meta = with lib; {
36     homepage = "https://github.com/mbroemme/pidgin-osd";
37     description = "Plugin for Pidgin which implements on-screen display via libxosd";
38     license = licenses.gpl3;
39     platforms = platforms.linux;
40   };