Skip to content

Commit

Permalink
ocamlPackages.uri: 3.1.0 → 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Dec 8, 2020
1 parent 57f2285 commit d702e6e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 7 additions & 5 deletions pkgs/development/ocaml-modules/uri/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{ lib, fetchurl, buildDunePackage, ounit
, re, stringext
, angstrom, stringext
}:

buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "uri";
version = "3.1.0";
version = "4.0.0";

useDune2 = true;

src = fetchurl {
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "0hxc2mshmqxz2qmjya47dzf858s6lsf3xvqswpzprkvhv0zq4ln4";
sha256 = "13r9nkgym9z3dqxkyf0yyaqlrk5r3pjdw0kfzvrc90bmhwl9j380";
};

buildInputs = [ ounit ];
propagatedBuildInputs = [ re stringext ];
checkInputs = [ ounit ];
propagatedBuildInputs = [ angstrom stringext ];
doCheck = true;

meta = {
Expand Down
5 changes: 3 additions & 2 deletions pkgs/development/ocaml-modules/uri/sexp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ else

buildDunePackage {
pname = "uri-sexp";
inherit (uri) version src doCheck meta;
inherit (uri) version useDune2 src meta;

buildInputs = [ ounit ];
checkInputs = [ ounit ];
propagatedBuildInputs = [ ppx_sexp_conv sexplib0 uri ];
doCheck = lib.versionAtLeast ocaml.version "4.08";
}

0 comments on commit d702e6e

Please sign in to comment.