ocamlPackages.markup: small cleaning
This commit is contained in:
@@ -8,17 +8,15 @@
|
||||
ounit2,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "markup";
|
||||
version = "1.0.3";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aantron";
|
||||
repo = "markup.ml";
|
||||
rev = version;
|
||||
sha256 = "sha256-tsXz39qFSyL6vPYKG7P73zSEiraaFuOySL1n0uFij6k=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-tsXz39qFSyL6vPYKG7P73zSEiraaFuOySL1n0uFij6k=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -27,13 +25,13 @@ buildDunePackage rec {
|
||||
];
|
||||
|
||||
checkInputs = [ ounit2 ];
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/aantron/markup.ml/";
|
||||
description = "Pair of best-effort parsers implementing the HTML5 and XML specifications";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gal_bolle ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ gal_bolle ];
|
||||
};
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user