Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 609 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "goa"; 9 version = "3.21.5"; 10 11 src = fetchFromGitHub { 12 owner = "goadesign"; 13 repo = "goa"; 14 rev = "v${version}"; 15 hash = "sha256-3MRxiZK6rLc0Drn3Ha7YOZO3IGNkQNEpzppZwYcZLwg="; 16 }; 17 vendorHash = "sha256-5XKAfUA3dh1Vgh72h1GeiheoL7E7jij3nAlncV5FjF8="; 18 19 subPackages = [ "cmd/goa" ]; 20 21 meta = with lib; { 22 description = "Design-based APIs and microservices in Go"; 23 mainProgram = "goa"; 24 homepage = "https://goa.design"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ rushmorem ]; 27 }; 28}