From 1e2c885bb936bb7edb1d3458f02bc80f13b03dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sun, 8 Dec 2024 00:04:30 +0100 Subject: [PATCH] lurk: add aarch64-linux support (#362757) * lurk: refactor * lurk: add aarch64-linux support --- pkgs/by-name/lu/lurk/package.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/lu/lurk/package.nix b/pkgs/by-name/lu/lurk/package.nix index 3f72762eec954..daa459636fb54 100644 --- a/pkgs/by-name/lu/lurk/package.nix +++ b/pkgs/by-name/lu/lurk/package.nix @@ -10,8 +10,8 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "jakwai01"; - repo = pname; - rev = "v${version}"; + repo = "lurk"; + tag = "v${version}"; hash = "sha256-KiM5w0YPxEpJ4cR/8YfhWlTrffqf5Ak1eu0yxgOmqUs="; }; @@ -22,16 +22,19 @@ rustPlatform.buildRustPackage rec { --replace-fail '/usr/bin/ls' 'ls' ''; - meta = with lib; { + meta = { + changelog = "https://github.com/jakwai01/lurk/releases/tag/v${version}"; description = "Simple and pretty alternative to strace"; - mainProgram = "lurk"; homepage = "https://github.com/jakwai01/lurk"; - changelog = "https://github.com/jakwai01/lurk/releases/tag/${src.rev}"; - license = licenses.agpl3Only; - maintainers = with maintainers; [ figsoda ]; + license = lib.licenses.agpl3Only; + mainProgram = "lurk"; + maintainers = with lib.maintainers; [ + figsoda + ]; platforms = [ "i686-linux" "x86_64-linux" + "aarch64-linux" ]; }; }