From a3274dca8852385469d0b89a1661a0e52ccbd0ff Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Wed, 30 Jun 2021 04:54:42 +0300 Subject: [PATCH] helix: init at 0.3.0 (#126208) Co-authored-by: Sandro --- pkgs/applications/editors/helix/default.nix | 25 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/editors/helix/default.nix diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix new file mode 100644 index 000000000000..a36ff1cde464 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0cf59f024e16..0f08d75a07a8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23665,6 +23665,8 @@ in haruna = libsForQt5.callPackage ../applications/video/haruna { }; + helix = callPackage ../applications/editors/helix { }; + icesl = callPackage ../applications/misc/icesl { }; keepassx = callPackage ../applications/misc/keepassx { };