From 89231df34698d10cc3cca75021e20eca4f30e868 Mon Sep 17 00:00:00 2001 From: Ryan Omasta Date: Wed, 14 Aug 2024 22:16:41 -0600 Subject: [PATCH] cargo-tauri: hardcode pname and remove uses of with lib --- pkgs/development/tools/rust/cargo-tauri/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-tauri/default.nix b/pkgs/development/tools/rust/cargo-tauri/default.nix index 802f38308907..d178fc51aafa 100644 --- a/pkgs/development/tools/rust/cargo-tauri/default.nix +++ b/pkgs/development/tools/rust/cargo-tauri/default.nix @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "tauri-apps"; - repo = pname; + repo = "tauri"; rev = "tauri-v${version}"; hash = "sha256-V3Lck5RzEAxXRHPAy0M2elRk9geF8qHWoi01N6wcHc4="; }; @@ -49,15 +49,15 @@ rustPlatform.buildRustPackage rec { ]; nativeBuildInputs = [ pkg-config ]; - meta = with lib; { + meta = { description = "Build smaller, faster, and more secure desktop applications with a web frontend"; mainProgram = "cargo-tauri"; homepage = "https://tauri.app/"; - license = with licenses; [ + license = with lib.licenses; [ asl20 # or mit ]; - maintainers = with maintainers; [ + maintainers = with lib.maintainers; [ dit7ya happysalada ];