2023-03-06 17:28:13 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, libxkbcommon }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "vim-fmi-cli";
|
2023-03-23 07:18:50 +01:00
|
|
|
version = "v0.1.14";
|
2023-03-06 17:28:13 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AndrewRadev";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-03-23 07:18:50 +01:00
|
|
|
sha256 = "sha256-7Ek86uVa9fGaXwb8ZOzob2S27V+KYhogAFVLH4g20rU=";
|
2023-03-06 17:28:13 +01:00
|
|
|
};
|
|
|
|
|
2023-03-23 07:18:50 +01:00
|
|
|
cargoSha256 = "sha256-E2MSfypho15dYXdh2h5P/pwxxBJ8iQYVgEliUcrxugI=";
|
2023-03-06 17:28:13 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ ];
|
|
|
|
|
|
|
|
PKG_CONFIG_PATH = "${openssl.dev}/lib/pkgconfig";
|
|
|
|
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-03-23 07:18:50 +01:00
|
|
|
description = "The command-line tool for https://www.vim-fmi.bg";
|
2023-03-06 17:28:13 +01:00
|
|
|
homepage = "https://github.com/AndrewRadev/vim-fmi-cli";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ reo101 ];
|
|
|
|
};
|
|
|
|
}
|