forked from mirrors/nixpkgs
ocamlPackages.lambdasoup: init at 0.6.3
This commit is contained in:
parent
62768f8efc
commit
bd9a7131a1
23
pkgs/development/ocaml-modules/lambdasoup/default.nix
Normal file
23
pkgs/development/ocaml-modules/lambdasoup/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue