diff options
author | sternenseemann <git@lukasepple.de> | 2020-05-21 00:44:42 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-05-21 21:11:21 +0200 |
commit | 8852d537b231d6f5b878eedddfebbc15d24bd6f4 (patch) | |
tree | bb572d8f6393f3c6d967bfc7113ab4de81fc9f26 /pkgs/development/ocaml-modules/io-page | |
parent | f4852591c1e2050ff3b12861f3950e36e15380be (diff) | |
download | nixpkgs-8852d537b231d6f5b878eedddfebbc15d24bd6f4.tar nixpkgs-8852d537b231d6f5b878eedddfebbc15d24bd6f4.tar.gz nixpkgs-8852d537b231d6f5b878eedddfebbc15d24bd6f4.tar.bz2 nixpkgs-8852d537b231d6f5b878eedddfebbc15d24bd6f4.tar.lz nixpkgs-8852d537b231d6f5b878eedddfebbc15d24bd6f4.tar.xz nixpkgs-8852d537b231d6f5b878eedddfebbc15d24bd6f4.tar.zst nixpkgs-8852d537b231d6f5b878eedddfebbc15d24bd6f4.zip |
ocamlPackages.io-page: 2.0.1 → 2.3.0
Diffstat (limited to 'pkgs/development/ocaml-modules/io-page')
-rw-r--r-- | pkgs/development/ocaml-modules/io-page/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/ocaml-modules/io-page/default.nix b/pkgs/development/ocaml-modules/io-page/default.nix index d9e4c8cdf81..06bd01fefac 100644 --- a/pkgs/development/ocaml-modules/io-page/default.nix +++ b/pkgs/development/ocaml-modules/io-page/default.nix @@ -1,16 +1,19 @@ -{ stdenv, fetchzip, buildDunePackage, configurator, cstruct }: +{ stdenv, fetchurl, buildDunePackage, configurator, cstruct, bigarray-compat, ounit }: buildDunePackage rec { pname = "io-page"; - version = "2.0.1"; + version = "2.3.0"; - src = fetchzip { - url = "https://github.com/mirage/${pname}/archive/${version}.tar.gz"; - sha256 = "1rw04dwrlx5hah5dkjf7d63iff82j9cifr8ifjis5pdwhgwcff8i"; + minimumOCamlVersion = "4.02.3"; + + src = fetchurl { + url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; + sha256 = "1hx27pwf419hrhwaw9cphbnl8akz8yy73hqj49l15g2k7shah1cn"; }; - buildInputs = [ configurator ]; - propagatedBuildInputs = [ cstruct ]; + propagatedBuildInputs = [ cstruct bigarray-compat ]; + checkInputs = [ ounit ]; + doCheck = true; meta = { homepage = "https://github.com/mirage/io-page"; |