ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / go / go-swag / package.nix
blob1903ff57ef33e6926c62bf0cbf5f3a845372093d
1 { buildGoModule, fetchFromGitHub, lib }:
3 buildGoModule rec {
4   pname = "go-swag";
5   version = "1.16.4";
7   src = fetchFromGitHub {
8     owner = "swaggo";
9     repo = "swag";
10     rev = "v${version}";
11     sha256 = "sha256-wqBT7uan5XL51HHDGINRH9NTb1tybF44d/rWRxl6Lak=";
12   };
14   vendorHash = "sha256-6L5LzXtYjrA/YKmNEC/9dyiHpY/8gkH/CvW0JTo+Bwc=";
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   };