Merge pull request #16747 from DamienCassou/move-gnome3.18-to-3.20
Move some fixes from Gnome 3.18 to 3.20wip/yesman
commit
7921e68734
@ -1,10 +1,13 @@ |
||||
# Autogenerated by maintainers/scripts/gnome.sh update |
||||
|
||||
fetchurl: { |
||||
name = "libpeas-1.16.0"; |
||||
fetchurl: rec { |
||||
major = "1.18"; |
||||
minor = "0"; |
||||
version = "${major}.${minor}"; |
||||
name = "libpeas-${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = mirror://gnome/sources/libpeas/1.16/libpeas-1.16.0.tar.xz; |
||||
sha256 = "b093008ecd65f7d55c80517589509698ff15ad41f664b11a3eb88ff461b1454e"; |
||||
url = "mirror://gnome/sources/libpeas/${major}/${name}.tar.xz"; |
||||
sha256 = "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"; |
||||
}; |
||||
} |
||||
|
@ -0,0 +1,42 @@ |
||||
{ stdenv, fetchFromGitHub, glib }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "1.0"; |
||||
basename = "pidgin-im-gnome-shell-extension"; |
||||
name = "${basename}-${version}"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "muffinmad"; |
||||
repo = "${basename}"; |
||||
rev = "v${version}"; |
||||
sha256 = "0vj4w9qqx9gads24w3f6v6mfh5va28bp8rc4w7lz0vhp7njmy1yy"; |
||||
}; |
||||
|
||||
buildInputs = [ glib ]; |
||||
|
||||
configurePhase = ""; |
||||
buildPhase = ""; |
||||
installPhase = '' |
||||
share_dir="$prefix/share" |
||||
extensions_dir="$share_dir/gnome-shell/extensions/pidgin@muffinmad" |
||||
mkdir -p "$extensions_dir" |
||||
mv *.js metadata.json dbus.xml gnome-shell-extension-pidgin.pot "$extensions_dir" |
||||
|
||||
schemas_dir="$share_dir/gsettings-schemas/${name}/glib-2.0/schemas" |
||||
mkdir -p "$schemas_dir" |
||||
mv schemas/* "$schemas_dir" # fix Emacs syntax highlighting: */ |
||||
${glib.dev}/bin/glib-compile-schemas "$schemas_dir" |
||||
|
||||
locale_dir="$share_dir/locale" |
||||
mkdir -p "$locale_dir" |
||||
mv locale/* $locale_dir # fix Emacs syntax highlighting: */ |
||||
''; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = https://github.com/muffinmad/pidgin-im-gnome-shell-extension; |
||||
description = "Make Pidgin IM conversations appear in the Gnome Shell message tray"; |
||||
license = licenses.gpl2; |
||||
platforms = platforms.linux; |
||||
maintainers = with maintainers; [ DamienCassou ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue