rix101/pkgs/vim-fmi-cli/default.nix

34 lines
825 B
Nix
Raw Normal View History

2023-03-06 17:28:13 +01:00
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, libxkbcommon }:
rustPlatform.buildRustPackage rec {
pname = "vim-fmi-cli";
version = "v0.1.14";
2023-03-06 17:28:13 +01:00
src = fetchFromGitHub {
owner = "AndrewRadev";
repo = pname;
rev = version;
sha256 = "sha256-7Ek86uVa9fGaXwb8ZOzob2S27V+KYhogAFVLH4g20rU=";
2023-03-06 17:28:13 +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; {
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 ];
};
}