-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
27 lines (22 loc) · 745 Bytes
/
default.nix
File metadata and controls
27 lines (22 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchFromGitHub, ocaml, findlib, ppx_tools, stdint }:
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-pretty-printers-parsers";
version = "2.10.0";
src = fetchFromGitHub {
owner = "rixed";
repo = "ocaml-pretty-printers-parsers";
rev = "v${version}";
sha256 = "0h35cwvg1kprj7nayy722was5aj1hb0n4s323p8mqr70qg99ci9n";
};
buildInputs = [ ocaml findlib ppx_tools stdint ];
installPhase = ''
make install bin_dir=$out/bin
'';
createFindlibDestdir = true;
meta = with stdenv.lib; {
homepage = https://github.com/rixed/ocaml-pretty-printers-parsers;
description = "Pretty-Printers/Parsers";
platforms = ocaml.meta.platforms or [];
maintainers = [ maintainers.rixed ];
};
}