Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "protozero"; 10 version = "1.8.0"; 11 12 src = fetchFromGitHub { 13 owner = "mapbox"; 14 repo = "protozero"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-kqR0YLxkRu8WclxaoR/zx+2sRTEZus7dUTbqjBkv12U="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = { 22 description = "Minimalistic protocol buffer decoder and encoder in C++"; 23 homepage = "https://github.com/mapbox/protozero"; 24 license = with lib.licenses; [ 25 bsd2 26 asl20 27 ]; 28 changelog = [ 29 "https://github.com/mapbox/protozero/releases/tag/v${finalAttrs.version}" 30 "https://github.com/mapbox/protozero/blob/v${finalAttrs.version}/CHANGELOG.md" 31 ]; 32 maintainers = with lib.maintainers; [ das-g ]; 33 teams = [ lib.teams.geospatial ]; 34 }; 35})