mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #202955 from dotlambda/purple-plugin-pack-2.8.0
This commit is contained in:
commit
ac21be8ae4
@ -1,20 +1,41 @@
|
|||||||
{ lib, stdenv, fetchurl, pidgin, intltool, python2 } :
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pidgin
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "purple-plugin-pack";
|
pname = "purple-plugin-pack";
|
||||||
version = "2.7.0";
|
version = "2.8.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://bitbucket.org/rekkanoryo/purple-plugin-pack/downloads/purple-plugin-pack-${version}.tar.bz2";
|
url = "mirror://sourceforge/pidgin/purple-plugin-pack-2.8.0.tar.xz";
|
||||||
sha256 = "0g5hmy7fwgjq59j52h9yps28jsjjrfkd4r18gyx6hfd3g3kzbg1b";
|
hash = "sha256-gszemnJRp1t+A6P5qSkBTY4AjBtvRuWGOPX0dto+JC0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ intltool ];
|
postPatch = ''
|
||||||
buildInputs = [ pidgin python2 ];
|
substituteInPlace meson.build \
|
||||||
|
--replace "PURPLE.get_pkgconfig_variable('plugindir')" "'$out/lib/purple-2'" \
|
||||||
|
--replace "PURPLE.get_pkgconfig_variable('datadir')" "'$out/share'" \
|
||||||
|
--replace "PIDGIN.get_pkgconfig_variable('plugindir')" "'$out/lib/pidgin'" \
|
||||||
|
--replace "PIDGIN.get_pkgconfig_variable('datadir')" "'$out/share'"
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pidgin
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://bitbucket.org/rekkanoryo/purple-plugin-pack";
|
homepage = "https://keep.imfreedom.org/pidgin/purple-plugin-pack";
|
||||||
description = "Plugin pack for Pidgin 2.x";
|
description = "Collection of plugins for purple-based clients such as Pidgin";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ bdimcheff ];
|
maintainers = with maintainers; [ bdimcheff ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user