mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 00:28:08 +00:00
ocamlPackages.ocurl: 0.9.1 -> 0.9.2
This commit is contained in:
parent
592f58a190
commit
b64a90b182
@ -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 [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user