ocamlPackages.lambdasoup: init at 0.6.3

This commit is contained in:
Vincent Laporte 2019-07-25 17:01:07 +00:00
parent 62768f8efc
commit bd9a7131a1
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, fetchFromGitHub, buildDunePackage, markup }:
buildDunePackage rec {
pname = "lambdasoup";
version = "0.6.3"; # NB: double-check the license when updating
src = fetchFromGitHub {
owner = "aantron";
repo = pname;
rev = version;
sha256 = "1w4zp3vswijzvrx0c3fv269ncqwnvvrzc46629nnwm9shwv07vmv";
};
propagatedBuildInputs = [ markup ];
meta = {
description = "Functional HTML scraping and rewriting with CSS in OCaml";
homepage = "https://aantron.github.io/lambdasoup/";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -376,6 +376,8 @@ let
lacaml = callPackage ../development/ocaml-modules/lacaml { };
lambdasoup = callPackage ../development/ocaml-modules/lambdasoup { };
lambdaTerm-1_6 = callPackage ../development/ocaml-modules/lambda-term/1.6.nix { lwt = lwt2; };
lambdaTerm =
if lib.versionOlder "4.02" ocaml.version