Merge pull request #297939 from FedericoSchonborn/budgie-updates

budgie.budgie-desktop: Propagate libpeas for plugins; budgie,budgiePlugins: cleanup
This commit is contained in:
Bobby Rong 2024-03-23 20:30:49 +08:00 committed by GitHub
commit 427650b9bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 54 additions and 49 deletions

View file

@ -7,14 +7,14 @@
, ninja
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-backgrounds";
version = "3.0";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = "budgie-backgrounds";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-2E6+WDLIAwqiiPMJw+tLDCT3CnpboH4X0cB87zw/hBQ=";
};
@ -25,11 +25,11 @@ stdenv.mkDerivation rec {
ninja
];
meta = with lib; {
meta = {
description = "The default background set for the Budgie Desktop";
homepage = "https://github.com/BuddiesOfBudgie/budgie-backgrounds";
platforms = platforms.linux;
maintainers = teams.budgie.members;
license = licenses.cc0;
platforms = lib.platforms.linux;
maintainers = lib.teams.budgie.members;
license = lib.licenses.cc0;
};
}
})

View file

@ -56,14 +56,14 @@
, enableSshSocket ? false
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-control-center";
version = "1.4.0";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = pname;
rev = "v${version}";
repo = "budgie-control-center";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
sha256 = "sha256-W5PF7BPdQdg/7xJ4J+fEnuDdpoG/lyhX56RDnX2DXoY=";
};
@ -167,12 +167,12 @@ stdenv.mkDerivation rec {
separateDebugInfo = true;
meta = with lib; {
meta = {
description = "A fork of GNOME Control Center for the Budgie 10 Series";
homepage = "https://github.com/BuddiesOfBudgie/budgie-control-center";
mainProgram = "budgie-control-center";
platforms = platforms.linux;
maintainers = teams.budgie.members;
license = licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = lib.teams.budgie.members;
license = lib.licenses.gpl2Plus;
};
}
})

View file

@ -72,13 +72,14 @@ stdenv.mkDerivation (finalAttrs: {
gnome.mutter
gnome.zenity
graphene
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gtk3
ibus
libcanberra-gtk3
libgee
libGL
libnotify
libpeas
libpulseaudio
libuuid
libwnck
@ -88,10 +89,12 @@ stdenv.mkDerivation (finalAttrs: {
sassc
upower
xfce.libxfce4windowing
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
]);
];
propagatedBuildInputs = [
# budgie-1.0.pc, budgie-raven-plugin-1.0.pc
libpeas
];
passthru.providedSessions = [
"budgie-desktop"

View file

@ -17,14 +17,14 @@
, xorg
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-screensaver";
version = "5.1.0";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = pname;
rev = "v${version}";
repo = "budgie-screensaver";
rev = "v${finalAttrs.version}";
sha256 = "sha256-N8x9hdbaMDisTbQPJedNO4UMLnCn+Q2hhm4udJZgQlc=";
};
@ -50,12 +50,12 @@ stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = "-D_POSIX_C_SOURCE";
meta = with lib; {
meta = {
description = "A fork of old GNOME Screensaver for purposes of providing an authentication prompt on wake";
homepage = "https://github.com/BuddiesOfBudgie/budgie-screensaver";
mainProgram = "budgie-screensaver";
platforms = platforms.linux;
maintainers = teams.budgie.members;
license = licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = lib.teams.budgie.members;
license = lib.licenses.gpl2Only;
};
}
})

View file

@ -1,6 +1,8 @@
{ lib, pkgs }:
{ lib, newScope }:
lib.makeScope pkgs.newScope (self: with self; {
lib.makeScope newScope (self: let
inherit (self) callPackage;
in {
budgie-backgrounds = callPackage ./budgie-backgrounds { };
budgie-control-center = callPackage ./budgie-control-center { };
budgie-desktop = callPackage ./budgie-desktop { };

View file

@ -156,11 +156,11 @@ stdenv.mkDerivation (finalAttrs: {
};
};
meta = with lib; {
meta = {
description = "Softish fork of Mutter 43.x";
homepage = "https://github.com/BuddiesOfBudgie/magpie";
license = licenses.gpl2Plus;
maintainers = teams.budgie.members;
platforms = platforms.linux;
license = lib.licenses.gpl2Plus;
maintainers = lib.teams.budgie.members;
platforms = lib.platforms.linux;
};
})

View file

@ -10,14 +10,14 @@
, libpeas
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-analogue-clock-applet";
version = "2.0";
src = fetchFromGitHub {
owner = "samlane-ma";
repo = "analogue-clock-applet";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-yId5bbdmELinBmZ5eISa5hQSYkeZCkix2FJ287GdcCs=";
};
@ -34,11 +34,11 @@ stdenv.mkDerivation rec {
libpeas
];
meta = with lib; {
meta = {
description = "Analogue Clock Applet for the Budgie desktop";
homepage = "https://github.com/samlane-ma/analogue-clock-applet";
license = licenses.gpl3Plus;
maintainers = teams.budgie.members;
platforms = platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = lib.teams.budgie.members;
platforms = lib.platforms.linux;
};
}
})

View file

@ -14,14 +14,14 @@
, vala
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-user-indicator-redux";
version = "1.0.2";
src = fetchFromGitHub {
owner = "EbonJaeger";
repo = "budgie-user-indicator-redux";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-X9b4H4PnrYGb/T7Sg9iXQeNDLoO1l0VCdbOCGUAgwC4=";
};
@ -42,12 +42,12 @@ stdenv.mkDerivation rec {
sassc
];
meta = with lib; {
meta = {
description = "Manage your user session from the Budgie panel";
homepage = "https://github.com/EbonJaeger/budgie-user-indicator-redux";
changelog = "https://github.com/EbonJaeger/budgie-user-indicator-redux/blob/${src.rev}/CHANGELOG.md";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = teams.budgie.members;
changelog = "https://github.com/EbonJaeger/budgie-user-indicator-redux/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = lib.teams.budgie.members;
};
}
})