Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 22.05 25 lines 617 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "oapi-codegen"; 5 version = "1.9.1"; 6 7 src = fetchFromGitHub { 8 owner = "deepmap"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-Po0HCAK9h1GWSfKzV+1j3ddikCNIULbywx501GvRT/Q="; 12 }; 13 14 vendorSha256 = "sha256-GSNNOWhWpXRJEIzLoBci25sp9pu0W1mS18G8eFOsfhw="; 15 16 # Tests use network 17 doCheck = false; 18 19 meta = with lib; { 20 description = "Go client and server OpenAPI 3 generator"; 21 homepage = "https://github.com/deepmap/oapi-codegen"; 22 license = licenses.asl20; 23 maintainers = [ maintainers.j4m3s ]; 24 }; 25}