diff options
author | Daniel Olsen <daniel.olsen99@gmail.com> | 2022-06-08 15:20:35 +0200 |
---|---|---|
committer | Daniel Olsen <daniel.olsen99@gmail.com> | 2022-06-08 15:21:28 +0200 |
commit | b64a90b182c7bd96a72fda511809ab65a50588f6 (patch) | |
tree | fc31b194c1c6519fca0a1558db036fda4eaed838 /pkgs/development/ocaml-modules/ocurl/default.nix | |
parent | 592f58a1900b95d814e545f38c95ec4c613f5075 (diff) |
ocamlPackages.ocurl: 0.9.1 -> 0.9.2
Diffstat (limited to 'pkgs/development/ocaml-modules/ocurl/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/ocurl/default.nix | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/development/ocaml-modules/ocurl/default.nix b/pkgs/development/ocaml-modules/ocurl/default.nix index 5e815d4dca6bc..cb3c70198dc61 100644 --- a/pkgs/development/ocaml-modules/ocurl/default.nix +++ b/pkgs/development/ocaml-modules/ocurl/default.nix @@ -1,21 +1,18 @@ -{ stdenv, lib, pkg-config, ocaml, findlib, fetchurl, curl, ncurses, lwt }: - -if lib.versionOlder ocaml.version "4.02" +{ lib, stdenv, fetchurl, pkg-config, ocaml, findlib, curl, lwt, lwt_ppx }: +if lib.versionOlder ocaml.version "4.04" then throw "ocurl is not available for OCaml ${ocaml.version}" else - stdenv.mkDerivation rec { pname = "ocurl"; - version = "0.9.1"; + version = "0.9.2"; src = fetchurl { - url = "http://ygrek.org.ua/p/release/ocurl/ocurl-${version}.tar.gz"; - sha256 = "0n621cxb9012pj280c7821qqsdhypj8qy9qgrah79dkh6a8h2py6"; + url = "https://github.com/ygrek/ocurl/releases/download/${version}/ocurl-${version}.tar.gz"; + sha256 = "sha256-4DWXGMh02s1VwLWW5d7h0jtMOUubWmBPGm1hghfWd2M="; }; nativeBuildInputs = [ pkg-config ocaml findlib ]; - buildInputs = [ ncurses ]; - propagatedBuildInputs = [ curl lwt ]; + propagatedBuildInputs = [ curl lwt lwt_ppx ]; strictDeps = true; @@ -24,7 +21,7 @@ stdenv.mkDerivation rec { description = "OCaml bindings to libcurl"; license = lib.licenses.mit; homepage = "http://ygrek.org.ua/p/ocurl/"; - maintainers = with lib.maintainers; [ bennofs ]; + maintainers = with lib.maintainers; [ dandellion bennofs ]; platforms = ocaml.meta.platforms or [ ]; }; } |