diff options
author | Lin Jian <me@linj.tech> | 2024-05-16 23:29:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 23:29:44 +0800 |
commit | a657d5777ac6c523bcb5c75c34b7df78576f7acc (patch) | |
tree | 509a19575c6f884de9472ae72a323fe1b19d3d87 /pkgs/by-name/pa | |
parent | df35c8be25a0e3e4655657b657a400f87c1047c0 (diff) | |
parent | 97d44a22029acf8e111ff28035a837523d07f027 (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.nix | 27 |
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 0000000000000..ec1c89edb343e --- /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 ]; + }; +} |