Skip to content

Commit

Permalink
cargo-tauri: hardcode pname and remove uses of with lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ryand56 authored and alyssais committed Aug 15, 2024
1 parent 46209d0 commit 89231df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/development/tools/rust/cargo-tauri/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {

src = fetchFromGitHub {
owner = "tauri-apps";
repo = pname;
repo = "tauri";
rev = "tauri-v${version}";
hash = "sha256-V3Lck5RzEAxXRHPAy0M2elRk9geF8qHWoi01N6wcHc4=";
};
Expand All @@ -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
];
Expand Down

0 comments on commit 89231df

Please sign in to comment.