2023-03-06 17:28:13 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, libxkbcommon }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2023-03-23 07:18:50 +01:00
|
|
|
pname = "parinfer-rust";
|
2023-07-13 13:25:02 +02:00
|
|
|
version = "3c769707ad3b18d530f696fe42a9d495139149ab";
|
2023-03-06 17:28:13 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-03-23 07:18:50 +01:00
|
|
|
owner = "eraserhd";
|
2023-03-06 17:28:13 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-13 12:38:43 +02:00
|
|
|
hash = "sha256-EVFuCZo6lYXEOWQzTW7BEfB5PIbO4YA4dCMo7N4oWrM=";
|
2023-03-06 17:28:13 +01:00
|
|
|
};
|
|
|
|
|
2023-07-13 13:47:10 +02:00
|
|
|
cargoSha256 = "sha256-spKA4GDoEIg7CBICiEcHsxmxkt8yC5jLjXSFMAUUJGs=";
|
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 = "A Rust port of parinfer.";
|
|
|
|
homepage = "https://github.com/eraserhd/parinfer-rust";
|
|
|
|
license = licenses.isc;
|
2023-03-06 17:28:13 +01:00
|
|
|
maintainers = with maintainers; [ reo101 ];
|
|
|
|
};
|
|
|
|
}
|