mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46db244d2d
* 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>
25 lines
650 B
Nix
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 ];
|
|
};
|
|
}
|