python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / go-swag / default.nix
blobaed802868a418c2d5222382904a626dcf8da02e3
1 { buildGoModule, fetchFromGitHub, lib }:
3 buildGoModule rec {
4   pname = "go-swag";
5   version = "1.8.7";
7   src = fetchFromGitHub {
8     owner = "swaggo";
9     repo = "swag";
10     rev = "v${version}";
11     sha256 = "sha256-HQ3VsYnPZGGZkeu8sc1sfKfRdOUWmdb98OQaIB62Yk4=";
12   };
14   vendorSha256 = "sha256-iu4rSgB7Gu5n1Sgu0jU9QwdwvuZ5rAqysvKuBnJd2jQ=";
16   subPackages = [ "cmd/swag" ];
18   meta = with lib; {
19     description = "Automatically generate RESTful API documentation with Swagger 2.0 for Go";
20     homepage = "https://github.com/swaggo/swag";
21     license = licenses.mit;
22     maintainers = with maintainers; [ stephenwithph ];
23     mainProgram = "swag";
24   };