From 2ceeed9040d0b5a015fd634122afcf35f432ba45 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 26 Nov 2023 02:03:29 +0300 Subject: 2023-11-26 --- packages/parinfer-rust.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/parinfer-rust.nix (limited to 'packages') diff --git a/packages/parinfer-rust.nix b/packages/parinfer-rust.nix new file mode 100644 index 0000000..6bf07dd --- /dev/null +++ b/packages/parinfer-rust.nix @@ -0,0 +1,29 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: +rustPlatform.buildRustPackage rec { + pname = "parinfer-rust"; + version = "unstable-2023-08-23"; + + src = fetchFromGitHub { + owner = "eraserhd"; + repo = "parinfer-rust"; + rev = "0e4d52e712641ad351a1bfe6cee3d34d63ed087b"; + hash = "sha256-xYdSOQMqeIaN5ADiwg5DkjyworcT6FWGJvJUV1NOb+0="; + }; + + cargoHash = "sha256-C8RO6A1soSjtGzmtkwtApObAvS7YRqHnc0JwcHzoP/8="; + + buildFeatures = ["emacs"]; + + nativeBuildInputs = [rustPlatform.bindgenHook]; + + meta = with lib; { + description = "A Rust port of parinfer"; + inherit (finalAttrs.src.meta) homepage; + license = licenses.isc; + maintainers = with maintainers; [azahi]; + }; +} -- cgit v1.2.3