Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / as / asm-lsp / package.nix
blob19dcf84116dc2f71aab3c634ed1e5bc09b254d3b
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , openssl
6 }:
7 let
8   pname = "asm-lsp";
9   version = "0.4.2";
11 rustPlatform.buildRustPackage {
12   inherit pname version;
14   src = fetchFromGitHub {
15     owner = "bergercookie";
16     repo = "asm-lsp";
17     rev = "v${version}";
18     hash = "sha256-EGgYOU6y23ULjnMGNjYhgF0JMPgvRuQ4UOWqwJxhBpU=";
19   };
21   nativeBuildInputs = [
22     pkg-config
23   ];
25   buildInputs = [
26     openssl
27   ];
29   cargoHash = "sha256-x8Cj39Wki+pdoNIO8QPGK29KFJrHtDMoZJIXFEldno0=";
31   meta = {
32     description = "Language server for NASM/GAS/GO Assembly";
33     homepage = "https://github.com/bergercookie/asm-lsp";
34     license = lib.licenses.bsd2;
35     maintainers = with lib.maintainers; [ NotAShelf ];
36     mainProgram = pname;
37     platforms = lib.platforms.linux;
38   };