diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-09-30 00:15:05 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-09-30 06:02:53 +0200 |
commit | e9304fe03977347e20e0dc2bb7669906f4ede9a7 (patch) | |
tree | 352342208ff921b36ca5a15a214084e967bff120 /pkgs/development | |
parent | a97cf72a27fc3171a9eaad99369bd9aed579629e (diff) | |
download | nixlib-e9304fe03977347e20e0dc2bb7669906f4ede9a7.tar nixlib-e9304fe03977347e20e0dc2bb7669906f4ede9a7.tar.gz nixlib-e9304fe03977347e20e0dc2bb7669906f4ede9a7.tar.bz2 nixlib-e9304fe03977347e20e0dc2bb7669906f4ede9a7.tar.lz nixlib-e9304fe03977347e20e0dc2bb7669906f4ede9a7.tar.xz nixlib-e9304fe03977347e20e0dc2bb7669906f4ede9a7.tar.zst nixlib-e9304fe03977347e20e0dc2bb7669906f4ede9a7.zip |
ocaml-ipaddr: update 2.4.0 -> 2.5.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/ocaml-ipaddr/default.nix | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-ipaddr/default.nix b/pkgs/development/ocaml-modules/ocaml-ipaddr/default.nix index e96f3f179a98..09cfe1c350dd 100644 --- a/pkgs/development/ocaml-modules/ocaml-ipaddr/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-ipaddr/default.nix @@ -1,15 +1,23 @@ -{ocaml, findlib, stdenv, fetchurl}: - +{ocaml, findlib, stdenv, fetchurl, ocaml_sexplib}: +assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12"; stdenv.mkDerivation { - name = "ocaml-ipaddr-2.4.0"; + name = "ocaml-ipaddr-2.5.0"; src = fetchurl { - url = https://github.com/mirage/ocaml-ipaddr/archive/2.4.0.tar.gz; - sha256 = "0g7qg35w3vzcg37798rhbx7iia83286md3gj5gdhs1qgizlg56wx"; + url = https://github.com/mirage/ocaml-ipaddr/archive/2.5.0.tar.gz; + sha256 = "0zpslxzjs5zdw20j3jaf6fr0w2imnidhrzggmnvwp198r76aq917"; }; buildInputs = [ocaml findlib]; + propagatedBuildInputs = [ocaml_sexplib]; createFindlibDestdir = true; + + meta = with stdenv.lib; { + description = "An OCaml library for manipulation of IP (and MAC) address representations"; + license = licenses.isc; + maintainers = [ maintainers.vbgl ]; + platforms = ocaml.meta.platforms; + }; } |