forked from mirrors/nixpkgs
ocaml-ng.ocamlPackages_4_01_0.csv: fix build
This commit is contained in:
parent
2a4ae4357e
commit
5ff499b854
|
@ -22,13 +22,17 @@ stdenv.mkDerivation rec {
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = "ocaml setup.ml -test";
|
checkPhase = "ocaml setup.ml -test";
|
||||||
|
|
||||||
installPhase = "ocaml setup.ml -install";
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
ocaml setup.ml -install
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A pure OCaml library to read and write CSV files";
|
description = "A pure OCaml library to read and write CSV files";
|
||||||
homepage = "https://github.com/Chris00/ocaml-csv";
|
homepage = "https://github.com/Chris00/ocaml-csv";
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
maintainers = [ maintainers.vbgl ];
|
maintainers = [ maintainers.vbgl ];
|
||||||
platforms = ocaml.meta.platforms or [ ];
|
inherit (ocaml.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue