Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 ssl, 6 lwt, 7}: 8 9buildDunePackage rec { 10 pname = "lwt_ssl"; 11 version = "1.2.0"; 12 13 duneVersion = "3"; 14 15 src = fetchurl { 16 url = "https://github.com/ocsigen/lwt_ssl/releases/download/${version}/lwt_ssl-${version}.tbz"; 17 hash = "sha256-swIK0nrs83fhw/J0Cgizbcu6mR+EMGZRE1dBBUiImnc="; 18 }; 19 20 propagatedBuildInputs = [ 21 ssl 22 lwt 23 ]; 24 25 meta = { 26 homepage = "https://github.com/aantron/lwt_ssl"; 27 description = "OpenSSL binding with concurrent I/O"; 28 license = lib.licenses.lgpl21; 29 maintainers = [ lib.maintainers.vbgl ]; 30 }; 31}