kaidan: use finalAttrs

This commit is contained in:
Sizhe Zhao 2025-06-06 15:14:35 +08:00
parent ee862a54b7
commit 1001a577e6
No known key found for this signature in database
GPG key ID: ED1807251A7DA08F

View file

@ -11,15 +11,15 @@
gst_all_1, gst_all_1,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "kaidan"; pname = "kaidan";
version = "0.11.0"; version = "0.11.0";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "invent.kde.org"; domain = "invent.kde.org";
owner = "network"; owner = "network";
repo = pname; repo = "kaidan";
rev = "v${version}"; rev = "v${finalAttrs.version}";
hash = "sha256-8pC4vINeKSYY+LlVgCXUtBq9UjraPdTikBOwLBLeQ3Y="; hash = "sha256-8pC4vINeKSYY+LlVgCXUtBq9UjraPdTikBOwLBLeQ3Y=";
}; };
@ -76,4 +76,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ astro ]; maintainers = with maintainers; [ astro ];
platforms = with platforms; linux; platforms = with platforms; linux;
}; };
} })