Unverified Commit fa1f225d authored by Gutyina Gergő's avatar Gutyina Gergő
Browse files

lurk: use finalAttrs

parent 37e6ac33
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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"
    ];
  };
}
})