depot/third_party/nixpkgs/pkgs/development/ocaml-modules/lambdasoup/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

30 lines
708 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml, markup, ounit2 }:
buildDunePackage rec {
pname = "lambdasoup";
version = "0.7.3";
minimalOCamlVersion = "4.02";
useDune2 = true;
src = fetchFromGitHub {
owner = "aantron";
repo = pname;
rev = version;
sha256 = "sha256:1wclkn1pl0d150dw0xswb29jc7y1q9mhipff1pnsc1hli3pyvvb7";
};
propagatedBuildInputs = [ markup ];
doCheck = lib.versionAtLeast ocaml.version "4.04";
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 ];
};
}