budgie.budgie-control-center: Don't use rec and with lib

Signed-off-by: Federico Damián Schonborn <federicoschonborn@disroot.org>
This commit is contained in:
Federico Damián Schonborn 2024-03-22 00:35:52 -03:00
parent 51c3335edb
commit 086334b312
No known key found for this signature in database
GPG Key ID: E4F6F544DE9E29E8

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;
};
}
})