lurk: use finalAttrs

This commit is contained in:
Gutyina Gergő
2025-11-05 06:35:21 +01:00
parent 37e6ac33c0
commit fa1f225de9
+4 -4
View File
@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "lurk";
version = "0.3.10";
src = fetchFromGitHub {
owner = "jakwai01";
repo = "lurk";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-5riwosaT7QjRFnIFRAcyLul7i1g8OpHyUuuJNOROTF0=";
};
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
'';
meta = {
changelog = "https://github.com/jakwai01/lurk/releases/tag/v${version}";
changelog = "https://github.com/jakwai01/lurk/releases/tag/v${finalAttrs.version}";
description = "Simple and pretty alternative to strace";
homepage = "https://github.com/jakwai01/lurk";
license = lib.licenses.agpl3Only;
@@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec {
"aarch64-linux"
];
};
}
})