Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 fetchpatch, 6 bytestring, 7 config, 8 libc, 9 rio, 10 uri, 11}: 12 13buildDunePackage rec { 14 pname = "gluon"; 15 version = "0.0.9"; 16 17 minimalOCamlVersion = "5.1"; 18 19 src = fetchurl { 20 url = "https://github.com/riot-ml/gluon/releases/download/${version}/gluon-${version}.tbz"; 21 hash = "sha256-YWJCPokY1A7TGqCGoxJl14oKDVeMNybEEB7KiK92WSo="; 22 }; 23 24 patches = fetchpatch { 25 url = "https://github.com/riot-ml/gluon/commit/b29c34d04ea05d7721a229c35132320e796ed4b2.patch"; 26 hash = "sha256-XuzyoteQAgEs93WrgHTWT1I+hIJAiGiJ4XAiLtnEYtw="; 27 }; 28 29 buildInputs = [ 30 config 31 ]; 32 33 propagatedBuildInputs = [ 34 bytestring 35 libc 36 rio 37 uri 38 ]; 39 40 meta = { 41 description = "Minimal, portable, and fast API on top of the operating-system's evented I/O API"; 42 homepage = "https://github.com/riot-ml/gluon"; 43 changelog = "https://github.com/riot-ml/gluon/blob/${version}/CHANGES.md"; 44 license = lib.licenses.mit; 45 maintainers = [ ]; 46 }; 47}