10 src = fetchFromGitHub {
13 rev = "refs/tags/v${version}";
14 hash = "sha256-38Ytv/mQVi0xTydFTPNizJIjYPL+lOws6jHsRjxSC4o=";
17 vendorHash = "sha256-TqoTzxPGF0BBUfLtYWkljRcmr08m4zo5iroWMklxL7U=";
21 subPackages = [ "cmd/swagger" ];
26 "-X github.com/go-swagger/go-swagger/cmd/swagger/commands.Version=${version}"
27 "-X github.com/go-swagger/go-swagger/cmd/swagger/commands.Commit=${src.rev}"
31 description = "Golang implementation of Swagger 2.0, representation of your RESTful API";
32 homepage = "https://github.com/go-swagger/go-swagger";
33 changelog = "https://github.com/go-swagger/go-swagger/releases/tag/v${version}";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ kalbasit ];
36 mainProgram = "swagger";