feat(pkgs): add three rust packages
`vim-fmi` -> `vim-fmi-cli` `fennel-language-server` `parinfer-rust`
This commit is contained in:
parent
d323092582
commit
cf6af515e0
4 changed files with 68 additions and 5 deletions
33
pkgs/vim-fmi-cli/default.nix
Normal file
33
pkgs/vim-fmi-cli/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, libxkbcommon }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "vim-fmi-cli";
|
||||
version = "v0.1.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AndrewRadev";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-7Ek86uVa9fGaXwb8ZOzob2S27V+KYhogAFVLH4g20rU=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-E2MSfypho15dYXdh2h5P/pwxxBJ8iQYVgEliUcrxugI=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ ];
|
||||
|
||||
PKG_CONFIG_PATH = "${openssl.dev}/lib/pkgconfig";
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "The command-line tool for https://www.vim-fmi.bg";
|
||||
homepage = "https://github.com/AndrewRadev/vim-fmi-cli";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ reo101 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue