Merge pull request #171766 from polarmutex/beancount-lang-server-fix

beancount-language-server: refactor -> 1.1.1
This commit is contained in:
Sandro 2022-06-01 16:41:34 +02:00 committed by GitHub
commit 5cd8add90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 198 additions and 413 deletions

View File

@ -10188,6 +10188,12 @@
githubId = 10473184;
name = "Jia Xiaodong";
};
polarmutex = {
email = "brian@brianryall.xyz";
github = "polarmutex";
githubId = 115141;
name = "Brian Ryall";
};
polendri = {
email = "paul@ijj.li";
github = "polendri";

View File

@ -35,7 +35,6 @@
, "awesome-lint"
, "balanceofsatoshis"
, "bash-language-server"
, "beancount-langserver"
, "bower"
, "bower2nix"
, "browserify"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "beancount-language-server";
version = "1.1.1";
src = fetchFromGitHub {
owner = "polarmutex";
repo = "beancount-language-server";
rev = "v${version}";
sha256 = "sha256-CkwNxamkErRo3svJNth2F8NSqlJNX+1S/srKu6Z+mX4=";
};
cargoSha256 = "sha256-NTUs9ADTn+KoE08FikRHrdptZkrUqnjVIlcr8RtDvic=";
doInstallCheck = true;
postInstallCheck = ''
$out/bin/beancount-language-server --help > /dev/null
'';
meta = with lib; {
description = "A Language Server Protocol (LSP) for beancount files";
homepage = "https://github.com/polarmutex/beancount-language-server";
license = with licenses; [ mit ];
maintainers = with maintainers; [ polarmutex ];
};
}

View File

@ -31338,6 +31338,8 @@ with pkgs;
beancount = with python3.pkgs; toPythonApplication beancount;
beancount-language-server = callPackage ../development/tools/beancount-language-server {};
bean-add = callPackage ../applications/office/beancount/bean-add.nix { };
bench = haskell.lib.compose.justStaticExecutables haskellPackages.bench;