mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
beancount-language-server: refactor -> 1.1.1
This commit is contained in:
parent
8143329fc8
commit
79772f20c5
4 changed files with 192 additions and 413 deletions
|
@ -35,7 +35,6 @@
|
||||||
, "awesome-lint"
|
, "awesome-lint"
|
||||||
, "balanceofsatoshis"
|
, "balanceofsatoshis"
|
||||||
, "bash-language-server"
|
, "bash-language-server"
|
||||||
, "beancount-langserver"
|
|
||||||
, "bower"
|
, "bower"
|
||||||
, "bower2nix"
|
, "bower2nix"
|
||||||
, "browserify"
|
, "browserify"
|
||||||
|
|
571
pkgs/development/node-packages/node-packages.nix
generated
571
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load diff
31
pkgs/development/tools/beancount-language-server/default.nix
Normal file
31
pkgs/development/tools/beancount-language-server/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -31334,6 +31334,8 @@ with pkgs;
|
||||||
|
|
||||||
beancount = with python3.pkgs; toPythonApplication beancount;
|
beancount = with python3.pkgs; toPythonApplication beancount;
|
||||||
|
|
||||||
|
beancount-language-server = callPackage ../development/tools/beancount-language-server {};
|
||||||
|
|
||||||
bean-add = callPackage ../applications/office/beancount/bean-add.nix { };
|
bean-add = callPackage ../applications/office/beancount/bean-add.nix { };
|
||||||
|
|
||||||
bench = haskell.lib.compose.justStaticExecutables haskellPackages.bench;
|
bench = haskell.lib.compose.justStaticExecutables haskellPackages.bench;
|
||||||
|
|
Loading…
Reference in a new issue