Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 35 lines 717 B view raw
1{ lib, fetchurl, buildDunePackage 2, bigstringaf 3, hmap 4, httpaf 5, lwt 6, sexplib0 7}: 8 9buildDunePackage rec { 10 pname = "rock"; 11 version = "0.20.0"; 12 minimalOCamlVersion = "4.08"; 13 duneVersion = "3"; 14 15 src = fetchurl { 16 url = "https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz"; 17 hash = "sha256-MmuRhm3pC69TX4t9Sy/yPjnZUuVzwEs8E/EFS1n/L7Y="; 18 }; 19 20 propagatedBuildInputs = [ 21 bigstringaf 22 hmap 23 httpaf 24 lwt 25 sexplib0 26 ]; 27 28 meta = { 29 description = "Minimalist framework to build extensible HTTP servers and clients"; 30 homepage = "https://github.com/rgrinberg/opium"; 31 license = lib.licenses.mit; 32 maintainers = [ lib.maintainers.vbgl ]; 33 }; 34 35}