Merge pull request #185449 from booklearner/zee-editor

zee: init at `0.3.2`

authored by figsoda and committed by GitHub 5524cbd1 ae87df98

+35
+31
pkgs/applications/editors/zee/default.nix
···
··· 1 + { lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, stdenv, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "zee"; 5 + version = "0.3.2"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "zee-editor"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-/9SogKOaXdFDB+e0//lrenTTbfmXqNFGr23L+6Pnm8w="; 12 + }; 13 + 14 + nativeBuildInputs = [ pkg-config ]; 15 + 16 + buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; 17 + 18 + # disable downloading and building the tree-sitter grammars at build time 19 + # grammars can be configured in a config file and installed with `zee --build` 20 + # see https://github.com/zee-editor/zee#syntax-highlighting 21 + ZEE_DISABLE_GRAMMAR_BUILD=1; 22 + 23 + cargoSha256 = "sha256-mbqI1csnU95VWgax4GjIxB+nhMtmpaeJ8QQ3qb0hY4c="; 24 + 25 + meta = with lib; { 26 + description = "A modern text editor for the terminal written in Rust"; 27 + homepage = "https://github.com/zee-editor/zee"; 28 + license = licenses.mit; 29 + maintainers = with maintainers; [ booklearner ]; 30 + }; 31 + }
+4
pkgs/top-level/all-packages.nix
··· 5848 5849 zabbixctl = callPackage ../tools/misc/zabbixctl { }; 5850 5851 zeek = callPackage ../applications/networking/ids/zeek { }; 5852 5853 zoekt = callPackage ../tools/text/zoekt { };
··· 5848 5849 zabbixctl = callPackage ../tools/misc/zabbixctl { }; 5850 5851 + zee = callPackage ../applications/editors/zee { 5852 + inherit (darwin.apple_sdk.frameworks) Security; 5853 + }; 5854 + 5855 zeek = callPackage ../applications/networking/ids/zeek { }; 5856 5857 zoekt = callPackage ../tools/text/zoekt { };