lurk: use finalAttrs
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user