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

View file

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

View file

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

View file

@ -17,14 +17,14 @@
, xorg , xorg
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "budgie-screensaver"; pname = "budgie-screensaver";
version = "5.1.0"; version = "5.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "BuddiesOfBudgie"; owner = "BuddiesOfBudgie";
repo = pname; repo = "budgie-screensaver";
rev = "v${version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-N8x9hdbaMDisTbQPJedNO4UMLnCn+Q2hhm4udJZgQlc="; sha256 = "sha256-N8x9hdbaMDisTbQPJedNO4UMLnCn+Q2hhm4udJZgQlc=";
}; };
@ -50,12 +50,12 @@ stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = "-D_POSIX_C_SOURCE"; 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"; description = "A fork of old GNOME Screensaver for purposes of providing an authentication prompt on wake";
homepage = "https://github.com/BuddiesOfBudgie/budgie-screensaver"; homepage = "https://github.com/BuddiesOfBudgie/budgie-screensaver";
mainProgram = "budgie-screensaver"; mainProgram = "budgie-screensaver";
platforms = platforms.linux; platforms = lib.platforms.linux;
maintainers = teams.budgie.members; maintainers = lib.teams.budgie.members;
license = licenses.gpl2Only; 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-backgrounds = callPackage ./budgie-backgrounds { };
budgie-control-center = callPackage ./budgie-control-center { }; budgie-control-center = callPackage ./budgie-control-center { };
budgie-desktop = callPackage ./budgie-desktop { }; 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"; description = "Softish fork of Mutter 43.x";
homepage = "https://github.com/BuddiesOfBudgie/magpie"; homepage = "https://github.com/BuddiesOfBudgie/magpie";
license = licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = teams.budgie.members; maintainers = lib.teams.budgie.members;
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
}) })

View file

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

View file

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