mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
32 lines
863 B
Nix
32 lines
863 B
Nix
{ stdenv, fetchFromGitHub, pidgin, xosd
|
|
, autoreconfHook } :
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pidgin-osd-0.2.0";
|
|
src = fetchFromGitHub {
|
|
owner = "edanaher";
|
|
repo = "pidgin-osd";
|
|
rev = name;
|
|
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 stdenv.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;
|
|
};
|
|
}
|