Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
743 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
cmake,
fetchFromGitHub,
openssl,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "httplib";
version = "0.19.0";
src = fetchFromGitHub {
owner = "yhirose";
repo = "cpp-httplib";
rev = "v${finalAttrs.version}";
hash = "sha256-OLwD7mpwqG7BUugUca+CJpPMaabJzUMC0zYzJK9PBCg=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl ];
strictDeps = true;
meta = {
homepage = "https://github.com/yhirose/cpp-httplib";
description = "C++ header-only HTTP/HTTPS server and client library";
changelog = "https://github.com/yhirose/cpp-httplib/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.mit;
maintainers = [ ];
platforms = lib.platforms.all;
};
})