Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "jwt-hack"; 8 version = "1.1.2"; 9 10 src = fetchFromGitHub { 11 owner = "hahwul"; 12 repo = pname; 13 rev = "v${version}"; 14 hash = "sha256-K0ZtEi0zAKRlIGvorrXmtmkcMvyLIXWPnVMQANZbClk="; 15 }; 16 17 vendorSha256 = "sha256-VYh3oRy8bmtXf6AnLNi/M2kA6t+crW3AXBiGovpdt8U="; 18 19 meta = with lib; { 20 description = "Tool for attacking JWT"; 21 homepage = "https://github.com/hahwul/jwt-hack"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ fab ]; 24 }; 25}