depot/third_party/nixpkgs/pkgs/tools/security/zkar/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

29 lines
696 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "zkar";
version = "1.5.0";
src = fetchFromGitHub {
owner = "phith0n";
repo = "zkar";
rev = "refs/tags/v${version}";
hash = "sha256-F4bGGOZ6ftaSDbsPh3ML9qJoXmdSD6TGc7mt4HOuPkU=";
};
vendorHash = "sha256-Eyi22d6RkIsg6S5pHXOqn6kULQ/mLeoaxSxxJJkMgIQ=";
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";
};
}