ocamlPackages.topkg: refactoring

This commit is contained in:
Vincent Laporte
2017-12-14 07:36:29 +00:00
parent 9b6ef35b2c
commit 5e4edcc4ec
36 changed files with 93 additions and 161 deletions

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, ocaml, findlib
, ocamlbuild, topkg, opam
, ocamlbuild, topkg
, uri, xmlm, omd, ezjsonm }:
stdenv.mkDerivation rec {
@@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "0snhabg7rfrrcq2ksr3qghiawd61cw3y4kp6rl7vs87j4cnk3kr2";
};
createFindlibDestdir = true;
buildInputs = [ ocaml opam ocamlbuild findlib topkg ];
buildInputs = [ ocaml ocamlbuild findlib topkg ];
propagatedBuildInputs = [ xmlm uri ezjsonm omd ];
inherit (topkg) buildPhase installPhase;