summary refs log tree commit diff
path: root/pkgs/applications/editors/helix
diff options
context:
space:
mode:
authorYusuf Bera Ertan <y.bera003.06@protonmail.com>2021-06-30 04:54:42 +0300
committerGitHub <noreply@github.com>2021-06-30 03:54:42 +0200
commita3274dca8852385469d0b89a1661a0e52ccbd0ff (patch)
tree5dbbc25393e768e99dce0120d38432ca711a8895 /pkgs/applications/editors/helix
parent90f2a9d997753b782102b48320033d2ebc298868 (diff)
downloadnixpkgs-a3274dca8852385469d0b89a1661a0e52ccbd0ff.tar
nixpkgs-a3274dca8852385469d0b89a1661a0e52ccbd0ff.tar.gz
nixpkgs-a3274dca8852385469d0b89a1661a0e52ccbd0ff.tar.bz2
nixpkgs-a3274dca8852385469d0b89a1661a0e52ccbd0ff.tar.lz
nixpkgs-a3274dca8852385469d0b89a1661a0e52ccbd0ff.tar.xz
nixpkgs-a3274dca8852385469d0b89a1661a0e52ccbd0ff.tar.zst
nixpkgs-a3274dca8852385469d0b89a1661a0e52ccbd0ff.zip
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.nix25
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 00000000000..a36ff1cde46
--- /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 ];
+  };
+}