@@ -1,30 +1,25 @@
1−{stdenv, fetchgit, ocaml, findlib, ocaml_oasis, ocaml_data_notation, ocaml_optcomp, camlp4}:
1+{ stdenv, fetchzip, ocaml, findlib, oasis, ocaml_optcomp, camlp4 }:
2+
3+let version = "0.7"; in
24
35stdenv.mkDerivation {
4− name = "ocsigen-deriving";
5− src = fetchgit {
6− url = "git://github.com/ocsigen/deriving";
7− rev = "refs/tags/0.6.2";
8− sha256 = "2b3bf3f4972d0e6eaf075f7353ce482b776726e0cd04947a89b7156384ec0662";
6+ name = "ocsigen-deriving-${version}";
7+ src = fetchzip {
8+ url = "https://github.com/ocsigen/deriving/archive/${version}.tar.gz";
9+ sha256 = "05z606gly1iyan292x3mflg3zasgg68n8i2mivz0zbshx2hz2jbw";
910 };
1011
11− buildInputs = [ocaml findlib ocaml_oasis ocaml_data_notation ocaml_optcomp camlp4];
12−
13− configurePhase = ''
14− make setup-dev.exe
15− ./setup-dev.exe -configure --prefix $out
16− '';
12+ buildInputs = [ ocaml findlib oasis ocaml_optcomp camlp4 ];
1713
1814 createFindlibDestdir = true;
1915
20−
2116 meta = {
2217 homepage = https://github.com/ocsigen/deriving;
2318 description = "Extension to OCaml for deriving functions from type declarations";
2419 license = stdenv.lib.licenses.mit;
2520 platforms = ocaml.meta.platforms;
26− maintainers = [
27− stdenv.lib.maintainers.gal_bolle
21+ maintainers = with stdenv.lib.maintainers; [
22+ gal_bolle vbgl
2823 ];
2924 };
3025