2022-05-18 14:49:53 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "zkar";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.4.0";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phith0n";
|
2024-04-21 15:54:59 +00:00
|
|
|
repo = "zkar";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-JPkxJpx2guTaEfTYhQsgZG+kXqHXgEiOrS9sk5vOjVc=";
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-R+Pd3QklWqTuivUy7nRIzCmWSujgXpdfFoXAihGSflk=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Java serialization protocol analysis tool";
|
|
|
|
homepage = "https://github.com/phith0n/zkar";
|
2024-04-21 15:54:59 +00:00
|
|
|
changelog = "https://github.com/phith0n/zkar/releases/tag/v${version}";
|
2022-05-18 14:49:53 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "zkar";
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
}
|