nixpkgs/pkgs/tools/security/zkar/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

26 lines
555 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "zkar";
version = "1.3.0";
src = fetchFromGitHub {
owner = "phith0n";
repo = pname;
rev = "v${version}";
hash = "sha256-TGqsiYZLbXvCc30OtvNbX4INlzw3ZfjvXal47rP7NDw=";
};
vendorHash = "sha256-HQ9qclaaDj0H8PL0oQG1WsH19wVQpynijHNcal4gWBE=";
meta = with lib; {
description = "Java serialization protocol analysis tool";
homepage = "https://github.com/phith0n/zkar";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}