beancount-language-server: refactor -> 1.1.1

This commit is contained in:
Brian Ryall 2022-05-15 10:49:18 -04:00
parent 8143329fc8
commit 79772f20c5
4 changed files with 192 additions and 413 deletions

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

@ -31334,6 +31334,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;