mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
31 lines
714 B
Nix
31 lines
714 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";
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
|
|
}
|