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