nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 727 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule (finalAttrs: { 8 pname = "protorpc"; 9 version = "1.1.2"; 10 11 src = fetchFromGitHub { 12 owner = "chai2010"; 13 repo = "protorpc"; 14 tag = "v${finalAttrs.version}"; 15 hash = "sha256-yu4aSWM0TNnGGLAA6NApMekHMi6e+McGRndi8ptdXfY="; 16 }; 17 18 vendorHash = "sha256-qGFPUNomcFHRBX33WWdYaAY7196RljwFKuS+EZhKKz8="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 ]; 24 25 meta = { 26 description = "Google Protocol Protobufs RPC for Go"; 27 homepage = "https://github.com/chai2010/protorpc"; 28 changelog = "https://github.com/chai2010/protorpc/blob/${finalAttrs.src.rev}/changelog.md"; 29 license = lib.licenses.bsd3; 30 maintainers = with lib.maintainers; [ tomasajt ]; 31 }; 32})