feat(vim-fmi): add package
This commit is contained in:
parent
bd2df72ebc
commit
b73b1fac18
3 changed files with 37 additions and 0 deletions
|
@ -70,6 +70,9 @@
|
|||
rustc
|
||||
cargo
|
||||
|
||||
## Vim FMI
|
||||
vim-fmi
|
||||
|
||||
## Zig
|
||||
# zigpkgs."0.10.1"
|
||||
zigpkgs.master
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
}: {
|
||||
# example = pkgs.callPackage ./example { };
|
||||
swww = pkgs.callPackage ./swww { };
|
||||
vim-fmi = pkgs.callPackage ./vim-fmi { };
|
||||
}
|
||||
|
|
33
pkgs/vim-fmi/default.nix
Normal file
33
pkgs/vim-fmi/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, libxkbcommon }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "vim-fmi-cli";
|
||||
version = "8a405efc988473a6e9f2ab3016ad1535692efbae";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AndrewRadev";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-V+R+B9UR9qHeXaqeEaAD2ngVOZV07LoB36ilVhTpdog=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-FRU1JieyxJ2joENueKJqGW1jbiMWLbOL03gqXL9k73o=";
|
||||
|
||||
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…
Reference in a new issue