From 10f9a88c05126e7a058ae33a48875bb4efa042e1 Mon Sep 17 00:00:00 2001 From: Robert Rose Date: Tue, 25 Feb 2025 17:36:46 +0100 Subject: [PATCH] zeekstd: init at 0.2.2 Zeekstd is a CLI tool that works with the zstd seekable format. --- pkgs/by-name/ze/zeekstd/package.nix | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/ze/zeekstd/package.nix diff --git a/pkgs/by-name/ze/zeekstd/package.nix b/pkgs/by-name/ze/zeekstd/package.nix new file mode 100644 index 000000000000..c9da3c9542bc --- /dev/null +++ b/pkgs/by-name/ze/zeekstd/package.nix @@ -0,0 +1,32 @@ +{ + fetchFromGitHub, + lib, + rustPlatform, +}: +let + version = "0.2.2"; +in +rustPlatform.buildRustPackage { + pname = "zeekstd"; + inherit version; + + src = fetchFromGitHub { + owner = "rorosen"; + repo = "zeekstd"; + tag = "v${version}"; + hash = "sha256-Blyp5GpnytB3S4k6lp2fAwXueaUtXqPW+WLEmFNPZc0="; + }; + + useFetchCargoVendor = true; + cargoHash = "sha256-bbl0zHxd2HYkctX029mtxDciC2tnPVTlHxYyetmtuw0="; + stripAllList = [ "bin" ]; + + meta = { + description = "CLI tool that works with the zstd seekable format"; + homepage = "https://github.com/rorosen/zeekstd"; + changelog = "https://github.com/rorosen/zeekstd/releases/tag/v${version}"; + license = lib.licenses.bsd2; + maintainers = [ lib.maintainers.rorosen ]; + mainProgram = "zeekstd"; + }; +}