fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchFromGitHub, ocaml, findlib, owee }:
2
3if !stdenv.lib.versionAtLeast ocaml.version "4.04"
4then throw "spacetime_lib is not available for OCaml ${ocaml.version}" else
5
6stdenv.mkDerivation rec {
7 name = "ocaml${ocaml.version}-spacetime_lib-${version}";
8 version = "0.1.0";
9
10 src = fetchFromGitHub {
11 owner = "lpw25";
12 repo = "spacetime_lib";
13 rev = version;
14 sha256 = "1g91y6wl3z18jhaz2q03wn54zj6xk1qcjidr1nc6nq9a8906lcq5";
15 };
16
17 buildInputs = [ ocaml findlib ];
18
19 propagatedBuildInputs = [ owee ];
20
21 createFindlibDestdir = true;
22
23 meta = {
24 description = "An OCaml library providing some simple operations for handling OCaml “spacetime” profiles";
25 inherit (src.meta) homepage;
26 inherit (ocaml.meta) platforms;
27 license = stdenv.lib.licenses.mit;
28 maintainers = [ stdenv.lib.maintainers.vbgl ];
29 };
30}