rix101/pkgs/parinfer-rust/default.nix

34 lines
832 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 = "parinfer-rust";
2023-07-13 13:25:02 +02:00
version = "3c769707ad3b18d530f696fe42a9d495139149ab";
2023-03-06 17:28:13 +01:00
src = fetchFromGitHub {
owner = "eraserhd";
2023-03-06 17:28:13 +01:00
repo = pname;
rev = version;
2023-07-13 13:25:02 +02:00
sha256 = "sha256-EVFuCZo6lYXEOWQzTW7BEfB5PIbO4YA4dCMo7N4oWrM=";
2023-03-06 17:28:13 +01: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; {
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 ];
};
}