biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / go-swag / default.nix
blob25ceb20089e0fd6d8af4bcad33d255cc6d077fbd
1 { buildGoModule, fetchFromGitHub, lib }:
3 buildGoModule rec {
4   pname = "go-swag";
5   version = "1.16.3";
7   src = fetchFromGitHub {
8     owner = "swaggo";
9     repo = "swag";
10     rev = "v${version}";
11     sha256 = "sha256-wS5m3dBiILxmVb6P559fGcONdCWc/5hhLAVMC+G1QZs=";
12   };
14   vendorHash = "sha256-BxWmEcx5IIT/yI46CJGE0vE1BRm5zwngc0x1dVy/04s=";
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   };