mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
asm-lsp: add support for darwin (#344556)
This commit is contained in:
commit
b5c0db4185
@ -3286,6 +3286,12 @@
|
||||
{ fingerprint = "8916 F727 734E 77AB 437F A33A 19AB 76F5 CEE1 1392"; }
|
||||
];
|
||||
};
|
||||
CaiqueFigueiredo = {
|
||||
email = "public@caiquefigueiredo.me";
|
||||
github = "caiquefigueiredo";
|
||||
githubId = 20440897;
|
||||
name = "Caique";
|
||||
};
|
||||
CaitlinDavitt = {
|
||||
email = "CaitlinDavitt@gmail.com";
|
||||
github = "CaitlinDavitt";
|
||||
|
@ -1,8 +1,12 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
openssl,
|
||||
darwin,
|
||||
libiconv,
|
||||
}:
|
||||
let
|
||||
pname = "asm-lsp";
|
||||
@ -18,13 +22,14 @@ rustPlatform.buildRustPackage {
|
||||
hash = "sha256-0GB3tXZuCu3syh+RG+eXoliZVHMPOhYC3RchSSx4u5w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.buildPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
libiconv
|
||||
];
|
||||
|
||||
cargoHash = "sha256-AtCnYOOtViMpg+rz8miuBZg1pENBPaf9kamSPaVUyiw=";
|
||||
|
||||
@ -37,8 +42,11 @@ 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 ];
|
||||
maintainers = with lib.maintainers; [
|
||||
NotAShelf
|
||||
CaiqueFigueiredo
|
||||
];
|
||||
mainProgram = "asm-lsp";
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user