aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/macaddr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/macaddr/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/macaddr/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/macaddr/default.nix b/nixpkgs/pkgs/development/ocaml-modules/macaddr/default.nix
index 1332c541354..76ced1d753c 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/macaddr/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/macaddr/default.nix
@@ -1,21 +1,20 @@
{ lib, fetchurl, buildDunePackage
-, ppx_sexp_conv
+, ppx_sexp_conv, ounit
}:
buildDunePackage rec {
pname = "macaddr";
- version = "3.1.0";
+ version = "5.0.0";
minimumOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/ocaml-ipaddr/archive/v${version}.tar.gz";
- sha256 = "1hi3v5dzg6h4qb268ch3h6v61gsc8bv21ajhb35z37v5nsdmyzbh";
+ sha256 = "1j2m2v64g3d81sixxq3g57j1iyk6042ivsszml18akrqvwfpxy66";
};
- propagatedBuildInputs = [ ppx_sexp_conv ];
-
- doCheck = false; # ipaddr and macaddr tests are together, which requires mutual dependency
+ checkInputs = [ ppx_sexp_conv ounit ];
+ doCheck = true;
meta = with lib; {
homepage = "https://github.com/mirage/ocaml-ipaddr";