komorebi: use finalAttrs.finalPackage

This commit is contained in:
Peder Bergebakken Sundt 2024-09-17 03:32:57 +02:00
parent 879556bc97
commit 76acfdb15d

View File

@ -13,17 +13,16 @@
, ninja
, wrapGAppsHook3
, testers
, komorebi
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "komorebi";
version = "2.2.1";
src = fetchFromGitHub {
owner = "Komorebi-Fork";
repo = "komorebi";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-vER69dSxu4JuWNAADpkxHE/zjOMhQp+Fc21J+JHQ8xk=";
};
@ -44,7 +43,7 @@ stdenv.mkDerivation rec {
clutter-gst
];
passthru.tests.version = testers.testVersion { package = komorebi; };
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
meta = with lib; {
description = "Beautiful and customizable wallpaper manager for Linux";
@ -53,4 +52,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ kranzes ];
platforms = platforms.linux;
};
}
})