Files
2026-04-20 10:34:26 -07:00

34 lines
717 B
Nix

{
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 ];
};
})