mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
708 B
Nix
29 lines
708 B
Nix
{ lib, buildDunePackage, fetchFromGitHub, ocaml, uchar, uutf, ounit2 }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "markup";
|
|
version = "1.0.3";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aantron";
|
|
repo = "markup.ml";
|
|
rev = version;
|
|
sha256 = "sha256-tsXz39qFSyL6vPYKG7P73zSEiraaFuOySL1n0uFij6k=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ uchar uutf ];
|
|
|
|
checkInputs = [ ounit2 ];
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
|
|
}
|