default.nix (617B)
1 { stdenv, lib, buildGoModule, fetchFromGitHub }: 2 3 buildGoModule rec { 4 name = "protobuild-unstable-${version}"; 5 version = "2020-04-14"; 6 rev = "324b1750ca060b814b18f4142b544b292d42968e"; 7 8 src = fetchFromGitHub { 9 inherit rev; 10 owner = "stevvooe"; 11 repo = "protobuild"; 12 sha256 = "0v3biryf56hscg7s8mm9ds8zypajb976z6x4xlhx1852wz6vqfxh"; 13 }; 14 vendorHash = "19wazsl2k8563k96w75lcfdvvz4k5l5kg8inbm1hkh1h0knnzh8r"; 15 modHash = "${vendorHash}"; 16 17 meta = { 18 description = "Build protobufs in Go, easily"; 19 homepage = https://github.com/stevvooe/protobuild; 20 license = lib.licenses.asl20; 21 }; 22 }