mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +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"; }
|
{ fingerprint = "8916 F727 734E 77AB 437F A33A 19AB 76F5 CEE1 1392"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
CaiqueFigueiredo = {
|
||||||
|
email = "public@caiquefigueiredo.me";
|
||||||
|
github = "caiquefigueiredo";
|
||||||
|
githubId = 20440897;
|
||||||
|
name = "Caique";
|
||||||
|
};
|
||||||
CaitlinDavitt = {
|
CaitlinDavitt = {
|
||||||
email = "CaitlinDavitt@gmail.com";
|
email = "CaitlinDavitt@gmail.com";
|
||||||
github = "CaitlinDavitt";
|
github = "CaitlinDavitt";
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
{ lib
|
{
|
||||||
, rustPlatform
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, pkg-config
|
rustPlatform,
|
||||||
, openssl
|
fetchFromGitHub,
|
||||||
|
pkg-config,
|
||||||
|
openssl,
|
||||||
|
darwin,
|
||||||
|
libiconv,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pname = "asm-lsp";
|
pname = "asm-lsp";
|
||||||
@ -18,13 +22,14 @@ rustPlatform.buildRustPackage {
|
|||||||
hash = "sha256-0GB3tXZuCu3syh+RG+eXoliZVHMPOhYC3RchSSx4u5w=";
|
hash = "sha256-0GB3tXZuCu3syh+RG+eXoliZVHMPOhYC3RchSSx4u5w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ pkg-config ];
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
openssl
|
[ openssl ]
|
||||||
];
|
++ lib.optionals stdenv.buildPlatform.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||||
|
libiconv
|
||||||
|
];
|
||||||
|
|
||||||
cargoHash = "sha256-AtCnYOOtViMpg+rz8miuBZg1pENBPaf9kamSPaVUyiw=";
|
cargoHash = "sha256-AtCnYOOtViMpg+rz8miuBZg1pENBPaf9kamSPaVUyiw=";
|
||||||
|
|
||||||
@ -37,8 +42,11 @@ rustPlatform.buildRustPackage {
|
|||||||
description = "Language server for NASM/GAS/GO Assembly";
|
description = "Language server for NASM/GAS/GO Assembly";
|
||||||
homepage = "https://github.com/bergercookie/asm-lsp";
|
homepage = "https://github.com/bergercookie/asm-lsp";
|
||||||
license = lib.licenses.bsd2;
|
license = lib.licenses.bsd2;
|
||||||
maintainers = with lib.maintainers; [ NotAShelf ];
|
maintainers = with lib.maintainers; [
|
||||||
|
NotAShelf
|
||||||
|
CaiqueFigueiredo
|
||||||
|
];
|
||||||
mainProgram = "asm-lsp";
|
mainProgram = "asm-lsp";
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user