blob: 0be382e4f9a6f9b4a9f00e241230937d5b6ae1c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
buildDunePackage,
pkg-config,
dune-configurator,
fetchurl,
lib,
curl,
}:
buildDunePackage (finalAttrs: {
pname = "curl";
version = "0.10.0";
minimalOCamlVersion = "4.11";
src = fetchurl {
url = "https://github.com/ygrek/ocurl/releases/download/${finalAttrs.version}/curl-${finalAttrs.version}.tbz";
hash = "sha256-wU4hX9p/lCkqdY2a6Q97y8IVZMkZGQBkAR/M3PehKRQ=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [
curl
];
doCheck = true;
meta = {
description = "Bindings to libcurl";
homepage = "https://ygrek.org/p/ocurl/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vog ];
};
})
|