ocsigen-deriving: update from 0.6.2 to 0.7

This commit is contained in:
Vincent Laporte 2015-02-28 16:48:16 +01:00
parent b7b54b0539
commit d8912db092
2 changed files with 13 additions and 16 deletions

View File

@ -1,30 +1,25 @@
{stdenv, fetchgit, ocaml, findlib, ocaml_oasis, ocaml_data_notation, ocaml_optcomp, camlp4}: { stdenv, fetchzip, ocaml, findlib, oasis, ocaml_optcomp, camlp4 }:
let version = "0.7"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ocsigen-deriving"; name = "ocsigen-deriving-${version}";
src = fetchgit { src = fetchzip {
url = "git://github.com/ocsigen/deriving"; url = "https://github.com/ocsigen/deriving/archive/${version}.tar.gz";
rev = "refs/tags/0.6.2"; sha256 = "05z606gly1iyan292x3mflg3zasgg68n8i2mivz0zbshx2hz2jbw";
sha256 = "2b3bf3f4972d0e6eaf075f7353ce482b776726e0cd04947a89b7156384ec0662";
}; };
buildInputs = [ocaml findlib ocaml_oasis ocaml_data_notation ocaml_optcomp camlp4]; buildInputs = [ ocaml findlib oasis ocaml_optcomp camlp4 ];
configurePhase = ''
make setup-dev.exe
./setup-dev.exe -configure --prefix $out
'';
createFindlibDestdir = true; createFindlibDestdir = true;
meta = { meta = {
homepage = https://github.com/ocsigen/deriving; homepage = https://github.com/ocsigen/deriving;
description = "Extension to OCaml for deriving functions from type declarations"; description = "Extension to OCaml for deriving functions from type declarations";
license = stdenv.lib.licenses.mit; license = stdenv.lib.licenses.mit;
platforms = ocaml.meta.platforms; platforms = ocaml.meta.platforms;
maintainers = [ maintainers = with stdenv.lib.maintainers; [
stdenv.lib.maintainers.gal_bolle gal_bolle vbgl
]; ];
}; };

View File

@ -4103,7 +4103,9 @@ let
zed = callPackage ../development/ocaml-modules/zed { }; zed = callPackage ../development/ocaml-modules/zed { };
ocsigen_deriving = callPackage ../development/ocaml-modules/ocsigen-deriving { }; ocsigen_deriving = callPackage ../development/ocaml-modules/ocsigen-deriving {
oasis = ocaml_oasis;
};
}; };