159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
28 lines
707 B
Nix
28 lines
707 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, ocaml, camlp-streams, markup, ounit2 }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "lambdasoup";
|
|
version = "1.1.0";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aantron";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-HUYE29nhoBjG5OZSV4n0C5yLq8yDtP+wsmxYyWsF3lc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ camlp-streams markup ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
checkInputs = [ ounit2 ];
|
|
|
|
meta = {
|
|
description = "Functional HTML scraping and rewriting with CSS in OCaml";
|
|
homepage = "https://aantron.github.io/lambdasoup/";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
|
|
}
|