mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
25 lines
662 B
Nix
25 lines
662 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-swag";
|
|
version = "1.6.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "swaggo";
|
|
repo = "swag";
|
|
rev = "df209afeed2334a97c83aff34ea7abcad85c31f6";
|
|
sha256 = "17pmcfkcmgjvs4drs0fyhp2m39gw83s0ck3rdzdkgdhrbhva9ksx";
|
|
};
|
|
|
|
vendorSha256 = "1i2n2sz2hc89nf2fqfq3swldz0xwrnms4j9q0lrss5gm3bk49q7f";
|
|
|
|
subPackages = [ "cmd/swag" ];
|
|
|
|
meta = with lib; {
|
|
description = "Automatically generate RESTful API documentation with Swagger 2.0 for Go";
|
|
homepage = "https://github.com/swaggo/swag";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ stephenwithph ];
|
|
};
|
|
}
|