rix101/pkgs/parinfer-rust/default.nix
reo101 cf6af515e0
feat(pkgs): add three rust packages
`vim-fmi` -> `vim-fmi-cli`
`fennel-language-server`
`parinfer-rust`
2023-03-23 08:18:50 +02:00

33 lines
754 B
Nix

{ 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 ];
};
}