nu_plugin_net: Fix meta.mainProgram

This commit is contained in:
Joaquín Triñanes 2024-06-04 20:36:34 +02:00
parent 923ad862cd
commit 73472e3d77
No known key found for this signature in database
GPG Key ID: 6E1446DD451C6BAF

View File

@ -1,10 +1,11 @@
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, IOKit
, CoreFoundation
, unstableGitUpdater
{
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
IOKit,
CoreFoundation,
unstableGitUpdater,
}:
rustPlatform.buildRustPackage {
@ -20,9 +21,7 @@ rustPlatform.buildRustPackage {
cargoHash = "sha256-nBxcxADyvPgGrfkW8eBq/wmB2Slq+YGJV2IlxuuCgCg=";
nativeBuildInputs = [
rustPlatform.bindgenHook
];
nativeBuildInputs = [ rustPlatform.bindgenHook ];
buildInputs = lib.optionals stdenv.isDarwin [
CoreFoundation
@ -36,6 +35,6 @@ rustPlatform.buildRustPackage {
homepage = "https://github.com/fennewald/nu_plugin_net";
license = licenses.mit;
maintainers = with maintainers; [ happysalada ];
mainProgram = "nu-plugin-net";
mainProgram = "nu_plugin_net";
};
}