nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 691 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 batteries, 6 tyxml, 7 ounit2, 8}: 9 10buildDunePackage (finalAttrs: { 11 pname = "markdown"; 12 version = "0.2.1"; 13 14 src = fetchurl { 15 url = "https://github.com/gildor478/ocaml-markdown/releases/download/v${finalAttrs.version}/markdown-v${finalAttrs.version}.tbz"; 16 hash = "sha256-nFdbdK0UIpqwiYGaNIoaj0UwI7/PHCDrxfxHNDYj3l4="; 17 }; 18 19 propagatedBuildInputs = [ 20 batteries 21 tyxml 22 ]; 23 24 doCheck = true; 25 26 checkInputs = [ ounit2 ]; 27 28 meta = { 29 homepage = "https://github.com/gildor478/ocaml-markdown"; 30 license = lib.licenses.mit; 31 maintainers = [ lib.maintainers.vbgl ]; 32 description = "Markdown parser and printer"; 33 }; 34 35})