nixpkgs-suyu/pkgs/development/tools/go-swag/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
631 B
Nix
Raw Normal View History

2020-09-15 01:22:07 +02:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "go-swag";
2022-02-23 07:29:04 +01:00
version = "1.8.0";
2020-09-15 01:22:07 +02:00
src = fetchFromGitHub {
owner = "swaggo";
repo = "swag";
rev = "v${version}";
2022-02-23 07:29:04 +01:00
sha256 = "sha256-axvc3iwAfsKunheLLKmUThZh27axRh/GJRcKy9EfEBw=";
2020-09-15 01:22:07 +02:00
};
2022-02-12 09:59:00 +01:00
vendorSha256 = "sha256-QphjiJSQRULphWjrJ8RzrUblTDYL/fYoSNT3+g0tP48=";
2020-09-15 01:22:07 +02:00
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 ];
};
}