Skip to content

Commit

Permalink
ocamlModules.biniou: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Mar 1, 2018
1 parent 4cd5eae commit 8d3aa2f
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions pkgs/development/ocaml-modules/biniou/default.nix
@@ -1,26 +1,30 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, easy-format }:

stdenv.mkDerivation rec {
version = "1.2.0";
name = "ocaml${ocaml.version}-biniou-${version}";
src = fetchFromGitHub {
owner = "mjambon";
repo = "biniou";
rev = "v${version}";
sha256 = "0mjpgwyfq2b2izjw0flmlpvdjgqpq8shs89hxj1np2r50csr8dcb";
};
version = "1.2.0";
name = "ocaml${ocaml.version}-biniou-${version}";
src = fetchFromGitHub {
owner = "mjambon";
repo = "biniou";
rev = "v${version}";
sha256 = "0mjpgwyfq2b2izjw0flmlpvdjgqpq8shs89hxj1np2r50csr8dcb";
};

buildInputs = [ ocaml findlib jbuilder ];
buildInputs = [ ocaml findlib jbuilder ];

propagatedBuildInputs = [ easy-format ];
propagatedBuildInputs = [ easy-format ];

inherit (jbuilder) installPhase;
postPatch = ''
patchShebangs .
'';

meta = {
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.bsd3;
};
inherit (jbuilder) installPhase;

meta = {
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.bsd3;
};
}

0 comments on commit 8d3aa2f

Please sign in to comment.