1{
2 fetchFromGitHub,
3 lib,
4 rustPlatform,
5}:
6rustPlatform.buildRustPackage (finalAttrs: {
7 pname = "zeekstd";
8 version = "0.4.0";
9
10 src = fetchFromGitHub {
11 owner = "rorosen";
12 repo = "zeekstd";
13 tag = "v${finalAttrs.version}-cli";
14 hash = "sha256-ulbmqkayIyzt4Wcb5Qfm2jamuTFkqxt6jAvLedLn0k8=";
15 };
16
17 cargoHash = "sha256-d4h2oAd+Posk8TzwNZVB6cSDN/wCIjPTanV9+8tf2iY=";
18
19 meta = {
20 description = "CLI tool that works with the zstd seekable format";
21 homepage = "https://github.com/rorosen/zeekstd";
22 changelog = "https://github.com/rorosen/zeekstd/releases/tag/v${finalAttrs.version}-cli";
23 license = lib.licenses.bsd2;
24 maintainers = [ lib.maintainers.rorosen ];
25 mainProgram = "zeekstd";
26 };
27})