1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00
nixpkgs/pkgs/development/tools/go-swagger/default.nix
Wael Nasreddine 46db244d2d
go-swagger: init at 0.24.0 (#90682)
* go-swagger: init at 0.24.0

* Apply suggestions from code review

Co-authored-by: Jon <jonringer@users.noreply.github.com>

Co-authored-by: Jon <jonringer@users.noreply.github.com>
2020-06-18 07:10:54 -07:00

25 lines
650 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "go-swagger";
version = "0.24.0";
src = fetchFromGitHub {
owner = "go-swagger";
repo = pname;
rev = "v${version}";
sha256 = "051av25vnrcpvj9w6mqalwk7byw52m2dlh1m56y30xvm0ybbnayn";
};
vendorSha256 = "020z4izc8i4yhbbr8h2fn8bqbis9q9yfcrjnixd6rsiayw1brh4p";
subPackages = [ "cmd/swagger" ];
meta = with lib; {
description = "Golang implementation of Swagger 2.0, representation of your RESTful API";
homepage = "https://github.com/go-swagger/go-swagger";
license = licenses.asl20;
maintainers = with maintainers; [ kalbasit ];
};
}