git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #98015 from StephenWithPH/swag

go-swag: init at 1.6.7

commit0dc4edcd60c54a73eeb0178c7aff2902141db1bb authorRyan Mulligan <ryan@ryantm.com> dateTue 15 Sep 2020, 07:03 (6 years ago) parentb632ca6fb779db
3 files changed+32
maintainers/maintainer-list.nix+6 pkgs/development/tools/go-swag/default.nix+24 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -7995,6 +7995,12 @@
79957995 githubId = 231788;
79967996 name = "Stephen Weinberg";
79977997 };
7998+ stephenwithph = {
7999+ name = "StephenWithPH";
8000+ email = "StephenWithPH@users.noreply.github.com";
8001+ github = "StephenWithPH";
8002+ githubId = 2990492;
8003+ };
79988004 sterfield = {
79998005 email = "sterfield@gmail.com";
80008006 github = "sterfield";
pkgs/development/tools/go-swag/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ buildGoModule, fetchFromGitHub, lib }:
2+
3+buildGoModule rec {
4+ pname = "go-swag";
5+ version = "1.6.7";
6+
7+ src = fetchFromGitHub {
8+ owner = "swaggo";
9+ repo = "swag";
10+ rev = "df209afeed2334a97c83aff34ea7abcad85c31f6";
11+ sha256 = "17pmcfkcmgjvs4drs0fyhp2m39gw83s0ck3rdzdkgdhrbhva9ksx";
12+ };
13+
14+ vendorSha256 = "1i2n2sz2hc89nf2fqfq3swldz0xwrnms4j9q0lrss5gm3bk49q7f";
15+
16+ subPackages = [ "cmd/swag" ];
17+
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+ };
24+}
pkgs/top-level/all-packages.nix+2
@@ -27371,6 +27371,8 @@ in
2737127371
2737227372 sqsh = callPackage ../development/tools/sqsh { };
2737327373
27374+ go-swag = callPackage ../development/tools/go-swag { };
27375+
2737427376 go-swagger = callPackage ../development/tools/go-swagger { };
2737527377
2737627378 jx = callPackage ../applications/networking/cluster/jx {};