diff options
author | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-08-21 22:07:35 +0000 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-08-22 00:07:35 +0200 |
commit | 35ae816e17dcd215e6f8ade19436e5730ee95902 (patch) | |
tree | 3980609a89169867d988310ac93337cbae60faed /pkgs/development/ocaml-modules | |
parent | ab6186be58db8dbf783a53928359f6f3846b5090 (diff) | |
download | nixlib-35ae816e17dcd215e6f8ade19436e5730ee95902.tar nixlib-35ae816e17dcd215e6f8ade19436e5730ee95902.tar.gz nixlib-35ae816e17dcd215e6f8ade19436e5730ee95902.tar.bz2 nixlib-35ae816e17dcd215e6f8ade19436e5730ee95902.tar.lz nixlib-35ae816e17dcd215e6f8ade19436e5730ee95902.tar.xz nixlib-35ae816e17dcd215e6f8ade19436e5730ee95902.tar.zst nixlib-35ae816e17dcd215e6f8ade19436e5730ee95902.zip |
ocamlPackages.io-page: 1.6.1 -> 2.0.1 (#45393)
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/io-page/default.nix | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/development/ocaml-modules/io-page/default.nix b/pkgs/development/ocaml-modules/io-page/default.nix index 24aa25570829..72b7a3a54ce7 100644 --- a/pkgs/development/ocaml-modules/io-page/default.nix +++ b/pkgs/development/ocaml-modules/io-page/default.nix @@ -1,23 +1,24 @@ -{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, cstruct }: +{ stdenv, fetchzip, ocaml, findlib, jbuilder, configurator, cstruct }: -let version = "1.6.1"; in +let version = "2.0.1"; in stdenv.mkDerivation { - name = "ocaml-io-page-${version}"; + name = "ocaml${ocaml.version}-io-page-${version}"; src = fetchzip { - url = "https://github.com/mirage/io-page/archive/v${version}.tar.gz"; - sha256 = "1djwks3ss12m55q6h4jsvfsy848cxfnpaxkilw10h26xj6jchflz"; + url = "https://github.com/mirage/io-page/archive/${version}.tar.gz"; + sha256 = "1rw04dwrlx5hah5dkjf7d63iff82j9cifr8ifjis5pdwhgwcff8i"; }; - buildInputs = [ ocaml findlib ocamlbuild ]; + buildInputs = [ ocaml findlib jbuilder configurator ]; propagatedBuildInputs = [ cstruct ]; - createFindlibDestdir = true; + inherit (jbuilder) installPhase; meta = { homepage = https://github.com/mirage/io-page; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; + license = stdenv.lib.licenses.isc; description = "IO memory page library for Mirage backends"; maintainers = with stdenv.lib.maintainers; [ vbgl ]; }; |