3
0
Fork 0
forked from mirrors/nixpkgs

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

View file

@ -4103,7 +4103,9 @@ let
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;
};
};