Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildDunePackage
2, fetchurl
3, ppx_expect
4, lib
5}:
6
7buildDunePackage rec {
8 pname = "pp";
9 version = "1.1.2";
10
11 src = fetchurl {
12 url = "https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
13 hash = "sha256-5KTpjZaxu3aVD81tpOk4yG2YnfTX5I8C96RFlfWvHVY=";
14 };
15
16 duneVersion = "3";
17 minimalOCamlVersion = "4.08";
18
19 checkInputs = [ ppx_expect ];
20 doCheck = true;
21
22 meta = with lib; {
23 description = "A an alternative pretty printing library to the Format module of the OCaml standard library";
24 license = licenses.mit;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ ];
27 };
28}