about summary refs log tree commit diff
path: root/pkgs/by-name/pa
diff options
context:
space:
mode:
authorLin Jian2024-05-16 23:29:44 +0800
committerGitHub2024-05-16 23:29:44 +0800
commita657d5777ac6c523bcb5c75c34b7df78576f7acc (patch)
tree509a19575c6f884de9472ae72a323fe1b19d3d87 /pkgs/by-name/pa
parentdf35c8be25a0e3e4655657b657a400f87c1047c0 (diff)
parent97d44a22029acf8e111ff28035a837523d07f027 (diff)
Merge pull request #310468 from brsvh/add/parinfer-rust-emacs
parinfer-rust-emacs: init at 0.4.6
Diffstat (limited to 'pkgs/by-name/pa')
-rw-r--r--pkgs/by-name/pa/parinfer-rust-emacs/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/pa/parinfer-rust-emacs/package.nix b/pkgs/by-name/pa/parinfer-rust-emacs/package.nix
new file mode 100644
index 000000000000..ec1c89edb343
--- /dev/null
+++ b/pkgs/by-name/pa/parinfer-rust-emacs/package.nix
@@ -0,0 +1,27 @@
+{
+  fetchFromGitHub,
+  lib,
+  llvmPackages,
+  rustPlatform,
+}:
+rustPlatform.buildRustPackage rec {
+  pname = "parinfer-rust-emacs";
+  version = "0.4.6";
+
+  src = fetchFromGitHub {
+    owner = "justinbarclay";
+    repo = "parinfer-rust-emacs";
+    rev = "v${version}";
+    hash = "sha256-SNs/75beomxvexfE4+3v/l9Xl5w5SY0EWcORHvRitOw=";
+  };
+
+  cargoHash = "sha256-LmfcY9iR7BGh3dF/raSZTIwburtaQRI3I3XvOZG343M=";
+
+  meta = with lib; {
+    description = "An emacs centric fork of parinfer-rust";
+    mainProgram = "parinfer-rust";
+    homepage = "https://github.com/justinbarclay/parinfer-rust-emacs";
+    license = licenses.isc;
+    maintainers = with maintainers; [ brsvh ];
+  };
+}