2020-08-29 06:35:16 +02:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, piqi, stdlib-shims }:
|
2015-06-10 23:00:52 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-29 06:35:16 +02:00
|
|
|
version = "0.7.7";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "piqi-ocaml";
|
2020-08-29 06:35:16 +02:00
|
|
|
name = "ocaml${ocaml.version}-${pname}-${version}";
|
2015-06-10 23:00:52 +02:00
|
|
|
|
2020-08-29 06:35:16 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alavrik";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1913jpsb8mvqi8609j4g4sm5jhg50dq0xqxgy8nmvknfryyc89nm";
|
2015-06-10 23:00:52 +02:00
|
|
|
};
|
|
|
|
|
2020-08-29 06:35:16 +02:00
|
|
|
buildInputs = [ ocaml findlib piqi stdlib-shims ];
|
2015-06-10 23:00:52 +02:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
installPhase = "DESTDIR=$out make install";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://piqi.org";
|
2016-02-27 18:24:00 +01:00
|
|
|
description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings";
|
2015-06-10 23:00:52 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|