nixpkgs/pkgs/tools/security/zkar/default.nix
2024-03-14 17:52:10 +01:00

30 lines
696 B
Nix

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