Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 30 lines 655 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 cstruct, 6}: 7 8buildDunePackage rec { 9 pname = "rio"; 10 version = "0.0.8"; 11 12 minimalOCamlVersion = "5.1"; 13 14 src = fetchurl { 15 url = "https://github.com/riot-ml/riot/releases/download/${version}/riot-${version}.tbz"; 16 hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE="; 17 }; 18 19 propagatedBuildInputs = [ 20 cstruct 21 ]; 22 23 meta = { 24 description = "Ergonomic, composable, efficient read/write streams"; 25 homepage = "https://github.com/riot-ml/riot"; 26 changelog = "https://github.com/riot-ml/riot/blob/${version}/CHANGES.md"; 27 license = lib.licenses.mit; 28 maintainers = [ ]; 29 }; 30}