budgie.budgie-backgrounds: 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:36 -03:00
parent 2095e319fd
commit 51c3335edb
No known key found for this signature in database
GPG Key ID: E4F6F544DE9E29E8

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