gnomeExtensions.gsconnect: 30 -> 31 (#78359)
No longer depends on libfolks :) https://github.com/andyholmes/gnome-shell-extension-gsconnect/releases/tag/v31
This commit is contained in:
parent
7f723b128b
commit
93c7301338
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchFromGitHub, substituteAll, python3, openssl, folks, gsound
|
{ stdenv, fetchFromGitHub, substituteAll, python3, openssl, gsound
|
||||||
, meson, ninja, libxml2, pkgconfig, gobject-introspection, wrapGAppsHook
|
, meson, ninja, libxml2, pkgconfig, gobject-introspection, wrapGAppsHook
|
||||||
, glib, gtk3, at-spi2-core, upower, openssh, gnome3, gjs }:
|
, glib, gtk3, at-spi2-core, upower, openssh, gnome3, gjs }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-shell-gsconnect";
|
pname = "gnome-shell-gsconnect";
|
||||||
version = "30";
|
version = "31";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "andyholmes";
|
owner = "andyholmes";
|
||||||
repo = "gnome-shell-extension-gsconnect";
|
repo = "gnome-shell-extension-gsconnect";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "17j96y72mj7vg2csn5c9rji7jy04x5qzl8knf5gky6wppxj9zjb4";
|
sha256 = "0nricm31jh4akncs0rkkilmq9afg7kgbj5cy7w26pfqb3l4nhifg";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -29,11 +29,9 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(python3.withPackages (pkgs: [ python3.pkgs.pygobject3 ])) # for folks.py
|
|
||||||
glib # libgobject
|
glib # libgobject
|
||||||
gtk3
|
gtk3
|
||||||
at-spi2-core # atspi
|
at-spi2-core # atspi
|
||||||
folks # libfolks
|
|
||||||
gnome3.nautilus # TODO: this contaminates the package with nautilus and gnome-autoar typelibs but it is only needed for the extension
|
gnome3.nautilus # TODO: this contaminates the package with nautilus and gnome-autoar typelibs but it is only needed for the extension
|
||||||
gnome3.nautilus-python
|
gnome3.nautilus-python
|
||||||
gsound
|
gsound
|
||||||
@ -66,15 +64,9 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
|
||||||
# TODO: figure out why folks GIR does not contain shared-library attribute
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/47226
|
|
||||||
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ folks ]}")
|
|
||||||
'';
|
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
# Let’s wrap the daemons
|
# Let’s wrap the daemons
|
||||||
for file in $out/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/{{daemon,nativeMessagingHost}.js,components/folks.py}; do
|
for file in $out/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/{daemon,nativeMessagingHost}.js; do
|
||||||
echo "Wrapping program $file"
|
echo "Wrapping program $file"
|
||||||
wrapGApp "$file"
|
wrapGApp "$file"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user