feat(pkgs): add three rust packages

`vim-fmi` -> `vim-fmi-cli`
`fennel-language-server`
`parinfer-rust`
This commit is contained in:
reo101 2023-03-23 08:18:50 +02:00
parent d323092582
commit cf6af515e0
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
4 changed files with 68 additions and 5 deletions

View file

@ -0,0 +1,33 @@
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, libxkbcommon }:
rustPlatform.buildRustPackage rec {
pname = "parinfer-rust";
version = "4d4f4c6c0d3b44c8443f3102bfadfb67dfb385f7";
src = fetchFromGitHub {
owner = "eraserhd";
repo = pname;
rev = version;
sha256 = lib.fakeSha256;
};
cargoSha256 = lib.fakeSha256;
nativeBuildInputs = [
pkg-config
];
buildInputs = [ ];
PKG_CONFIG_PATH = "${openssl.dev}/lib/pkgconfig";
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
doCheck = false;
meta = with lib; {
description = "A Rust port of parinfer.";
homepage = "https://github.com/eraserhd/parinfer-rust";
license = licenses.isc;
maintainers = with maintainers; [ reo101 ];
};
}