zee: init at 0.3.2

This commit is contained in:
booklearner 2022-08-07 18:38:43 -04:00
parent 981421c480
commit 22880e58ed
No known key found for this signature in database
GPG Key ID: 0C61C4E5907F76C8
2 changed files with 35 additions and 0 deletions

@ -0,0 +1,31 @@
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "zee";
version = "0.3.2";
src = fetchFromGitHub {
owner = "zee-editor";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/9SogKOaXdFDB+e0//lrenTTbfmXqNFGr23L+6Pnm8w=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
# disable downloading and building the tree-sitter grammars at build time
# grammars can be configured in a config file and installed with `zee --build`
# see https://github.com/zee-editor/zee#syntax-highlighting
ZEE_DISABLE_GRAMMAR_BUILD=1;
cargoSha256 = "sha256-mbqI1csnU95VWgax4GjIxB+nhMtmpaeJ8QQ3qb0hY4c=";
meta = with lib; {
description = "A modern text editor for the terminal written in Rust";
homepage = "https://github.com/zee-editor/zee";
license = licenses.mit;
maintainers = with maintainers; [ booklearner ];
};
}

@ -5848,6 +5848,10 @@ with pkgs;
zabbixctl = callPackage ../tools/misc/zabbixctl { };
zee = callPackage ../applications/editors/zee {
inherit (darwin.apple_sdk.frameworks) Security;
};
zeek = callPackage ../applications/networking/ids/zeek { };
zoekt = callPackage ../tools/text/zoekt { };