nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 908 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 alcotest, 6 uri, 7 xmlm, 8 omd, 9 ezjsonm, 10}: 11 12buildDunePackage rec { 13 version = "2.5.0"; 14 pname = "cow"; 15 16 minimalOCamlVersion = "4.03"; 17 18 src = fetchurl { 19 url = "https://github.com/mirage/ocaml-cow/releases/download/v${version}/cow-${version}.tbz"; 20 hash = "sha256-8rNK+5oWUbi91gXvdz/66YQu5+iXp0Co8wk0Isv6b9Y="; 21 }; 22 23 propagatedBuildInputs = [ 24 xmlm 25 uri 26 ezjsonm 27 omd 28 ]; 29 checkInputs = [ alcotest ]; 30 doCheck = true; 31 32 meta = { 33 description = "Caml on the Web"; 34 longDescription = '' 35 Writing web-applications requires a lot of skills: HTML, XML, JSON and 36 Markdown, to name but a few! This library provides OCaml combinators 37 for these web formats. 38 ''; 39 homepage = "https://mirage.github.io/ocaml-cow/"; 40 license = lib.licenses.isc; 41 maintainers = with lib.maintainers; [ sternenseemann ]; 42 }; 43}