Skip to content

Commit

Permalink
asm-lsp: format with nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
caiquefigueiredo committed Sep 28, 2024
1 parent da26765 commit 430ac74
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions pkgs/by-name/as/asm-lsp/package.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, darwin
, libiconv
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
darwin,
libiconv,
}:
let
pname = "asm-lsp";
Expand All @@ -21,16 +22,14 @@ rustPlatform.buildRustPackage {
hash = "sha256-0GB3tXZuCu3syh+RG+eXoliZVHMPOhYC3RchSSx4u5w=";
};

nativeBuildInputs = [
pkg-config
];
nativeBuildInputs = [ pkg-config ];

buildInputs = [
openssl
] ++ lib.optionals stdenv.buildPlatform.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
libiconv
];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.buildPlatform.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
libiconv
];

cargoHash = "sha256-AtCnYOOtViMpg+rz8miuBZg1pENBPaf9kamSPaVUyiw=";

Expand All @@ -43,7 +42,10 @@ rustPlatform.buildRustPackage {
description = "Language server for NASM/GAS/GO Assembly";
homepage = "https://github.com/bergercookie/asm-lsp";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ NotAShelf CaiqueFigueiredo ];
maintainers = with lib.maintainers; [
NotAShelf
CaiqueFigueiredo
];
mainProgram = "asm-lsp";
platforms = lib.platforms.unix;
};
Expand Down

0 comments on commit 430ac74

Please sign in to comment.