ocamlPackages.conduit: 1.0.0 -> 1.4.0 and dependencies (#74821)

This commit is contained in:
Alexandre Esteves
2019-12-29 19:40:36 +00:00
committed by Vincent Laporte
parent af2eaec41a
commit be90b35b9e
4 changed files with 56 additions and 26 deletions

View File

@@ -1,20 +1,22 @@
{ stdenv, fetchurl, buildDunePackage, sexplib, ppx_sexp_conv }:
{ lib, buildDunePackage
, macaddr, ounit
}:
buildDunePackage rec {
pname = "ipaddr";
version = "2.8.0";
src = fetchurl {
url = "https://github.com/mirage/ocaml-${pname}/archive/${version}.tar.gz";
sha256 = "1amb1pbm9ybpxy6190qygpj6nmbzzs2r6vx4xh5r6v89szx9rfxw";
};
inherit (macaddr) version src;
propagatedBuildInputs = [ ppx_sexp_conv sexplib ];
buildInputs = [ ounit ];
meta = with stdenv.lib; {
propagatedBuildInputs = [ macaddr ];
doCheck = true;
meta = with lib; {
homepage = https://github.com/mirage/ocaml-ipaddr;
description = "A library for manipulation of IP (and MAC) address representations ";
license = licenses.isc;
maintainers = [ maintainers.ericbmerritt ];
maintainers = with maintainers; [ alexfmpe ericbmerritt ];
};
}