depot/third_party/nixpkgs/pkgs/development/ocaml-modules/lambdasoup/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

28 lines
707 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml, camlp-streams, markup, ounit2 }:
buildDunePackage rec {
pname = "lambdasoup";
version = "1.1.1";
minimalOCamlVersion = "4.03";
src = fetchFromGitHub {
owner = "aantron";
repo = pname;
rev = version;
hash = "sha256-+d1JPU7OyQgt8pDTlwZraqPHH+OBQD1ycsELKpHT95Y=";
};
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 ];
};
}