diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-12-06 17:17:18 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-12-06 22:20:03 +0100 |
commit | 30526f59a11838a45af8031c90ebf818aa74225e (patch) | |
tree | 3878583e8d29fb9b029a508e2734c1ea33463fd5 | |
parent | 2830a80142898caddf34632cd18b1c7fa2be5d1b (diff) |
ocamlPackages.lambdasoup: 0.7.1 -> 0.7.2
-rw-r--r-- | pkgs/development/ocaml-modules/lambdasoup/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/lambdasoup/default.nix b/pkgs/development/ocaml-modules/lambdasoup/default.nix index 2a1ae3fb8a95..de5fbf63b383 100644 --- a/pkgs/development/ocaml-modules/lambdasoup/default.nix +++ b/pkgs/development/ocaml-modules/lambdasoup/default.nix @@ -1,8 +1,10 @@ -{ lib, fetchFromGitHub, buildDunePackage, markup }: +{ lib, fetchFromGitHub, buildDunePackage, ocaml, markup, ounit2 }: buildDunePackage rec { pname = "lambdasoup"; - version = "0.7.1"; + version = "0.7.2"; + + minimumOCamlVersion = "4.02"; useDune2 = true; @@ -10,11 +12,14 @@ buildDunePackage rec { owner = "aantron"; repo = pname; rev = version; - sha256 = "14lndpsnzjjg58sdwxqpsv7kz77mnwn5658lya9jyaclj8azmaks"; + sha256 = "0php51lyz3ll0psazjd59yw02xb9w84150gkyiwmn3fa0iq8nf7m"; }; 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/"; |