rix101/pkgs/parinfer-rust/default.nix

34 lines
754 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";
version = "4d4f4c6c0d3b44c8443f3102bfadfb67dfb385f7";
2023-03-06 17:28:13 +01:00
src = fetchFromGitHub {
owner = "eraserhd";
2023-03-06 17:28:13 +01:00
repo = pname;
rev = version;
sha256 = lib.fakeSha256;
2023-03-06 17:28:13 +01:00
};
cargoSha256 = lib.fakeSha256;
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 ];
};
}