nixpkgs/pkgs/development/tools/goa/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
582 B
Nix
Raw Normal View History

2022-06-05 21:14:29 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2016-09-16 14:24:51 +00:00
2022-06-05 21:14:29 +00:00
buildGoModule rec {
pname = "goa";
2022-06-05 21:14:29 +00:00
version = "3.7.6";
2016-09-16 14:24:51 +00:00
src = fetchFromGitHub {
owner = "goadesign";
repo = "goa";
2018-08-09 22:06:42 +00:00
rev = "v${version}";
2022-06-05 21:14:29 +00:00
sha256 = "sha256-AxMt9XnpUvAwWtjh391ep+MFysF5I/HUeHS8Kq8/fvU=";
2016-09-16 14:24:51 +00:00
};
2022-06-05 21:14:29 +00:00
vendorSha256 = "sha256-eTMqvl7h12GbzEmO5Lo4hdFrbqti3zl9edTz+zS0Xu8=";
2016-09-16 14:24:51 +00:00
2022-06-05 21:14:29 +00:00
subPackages = [ "cmd/goa" ];
2016-09-16 14:24:51 +00:00
meta = with lib; {
2022-06-05 21:14:29 +00:00
description = "Design-based APIs and microservices in Go";
homepage = "https://goa.design";
2016-09-16 14:24:51 +00:00
license = licenses.mit;
2022-06-05 21:14:29 +00:00
maintainers = with maintainers; [ rushmorem ];
2016-09-16 14:24:51 +00:00
};
}