Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 33 lines 633 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 jsonm, 6 hex, 7 sexplib0, 8}: 9 10buildDunePackage rec { 11 pname = "ezjsonm"; 12 version = "1.3.0"; 13 14 duneVersion = "3"; 15 16 src = fetchurl { 17 url = "https://github.com/mirage/ezjsonm/releases/download/v${version}/ezjsonm-${version}.tbz"; 18 hash = "sha256-CGM+Dw52eoroGTXKfnTxaTuFp5xFAtVo7t/1Fw8M13s="; 19 }; 20 21 propagatedBuildInputs = [ 22 jsonm 23 hex 24 sexplib0 25 ]; 26 27 meta = { 28 description = "Easy interface on top of the Jsonm library"; 29 homepage = "https://github.com/mirage/ezjsonm"; 30 license = lib.licenses.isc; 31 maintainers = with lib.maintainers; [ vbgl ]; 32 }; 33}