diff options
author | Yusuf Bera Ertan <y.bera003.06@protonmail.com> | 2021-06-30 04:54:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 03:54:42 +0200 |
commit | a3274dca8852385469d0b89a1661a0e52ccbd0ff (patch) | |
tree | 5dbbc25393e768e99dce0120d38432ca711a8895 /pkgs/applications/editors/helix | |
parent | 90f2a9d997753b782102b48320033d2ebc298868 (diff) |
helix: init at 0.3.0 (#126208)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/editors/helix')
-rw-r--r-- | pkgs/applications/editors/helix/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix new file mode 100644 index 0000000000000..a36ff1cde464c --- /dev/null +++ b/pkgs/applications/editors/helix/default.nix @@ -0,0 +1,25 @@ +{ fetchFromGitHub, lib, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "helix"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "helix-editor"; + repo = pname; + rev = "v${version}"; + fetchSubmodules = true; + sha256 = "sha256-dI5yIP5uUmM9pyMpvvdrk8/0jE/REkU/m9BF081LwMU="; + }; + + cargoSha256 = "sha256-l3Ikr4IyUsHItJIC4BaIZZb6vio3bchumbbPI+nxIjQ="; + + cargoBuildFlags = [ "--features embed_runtime" ]; + + meta = with lib; { + description = "A post-modern modal text editor"; + homepage = "https://helix-editor.com"; + license = licenses.mpl20; + maintainers = with maintainers; [ yusdacra ]; + }; +} |