mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
944a2dc835
(#153213) Issue #60004
28 lines
763 B
Nix
28 lines
763 B
Nix
{ lib, stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, piqi, stdlib-shims }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.7";
|
|
pname = "piqi-ocaml";
|
|
name = "ocaml${ocaml.version}-${pname}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alavrik";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1913jpsb8mvqi8609j4g4sm5jhg50dq0xqxgy8nmvknfryyc89nm";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib piqi stdlib-shims ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
installPhase = "DESTDIR=$out make install";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://piqi.org";
|
|
description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.maurer ];
|
|
};
|
|
}
|