git.iko.soy/typeable/nixpkgs
on master help sign in
gapi-ocaml: 0.3.4 -> 0.3.6. Also change to use opam/jbuilder for build.
commit26fac59c328663529d44924d7569e4457d1ba3ed authorCorey O'Connor <coreyoconnor@gmail.com> dateMon 19 Mar 2018, 11:43 (9 years ago) parente340a98
1 file changed+6−7
pkgs/development/ocaml-modules/gapi-ocaml/default.nix+6−7
pkgs/development/ocaml-modules/gapi-ocaml/default.nix+6−7
@@ -1,20 +1,19 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
1+{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, opam, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
22
33stdenv.mkDerivation rec {
44 name = "gapi-ocaml-${version}";
5− version = "0.3.4";
5+ version = "0.3.6";
66 src = fetchFromGitHub {
77 owner = "astrada";
88 repo = "gapi-ocaml";
99 rev = "v${version}";
10− sha256 = "07p6p108fyf9xz54jbcld40k3r9zyybxmr5i3rrkhgwm8gb6sbhv";
10+ sha256 = "0qgsy51bhkpfgl5rdnjw4bqs5fbh2w4vwrfbl8y3lh1wrqmnwci4";
1111 };
12− buildInputs = [ ocaml findlib ocamlbuild ];
12+ buildInputs = [ ocaml jbuilder findlib ];
1313 propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib yojson ocamlnet xmlm ];
1414
15− configurePhase = "ocaml setup.ml -configure --prefix $out";
16− buildPhase = "ocaml setup.ml -build";
17− installPhase = "ocaml setup.ml -install";
15+ installPhase = "${opam}/bin/opam-installer -i --prefix=$out --libdir=$OCAMLFIND_DESTDIR";
16+
1817 createFindlibDestdir = true;
1918
2019 meta = {