Files
nixpkgs/pkgs/by-name/cu/curlpp/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
706 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
curl,
}:
stdenv.mkDerivation rec {
pname = "curlpp";
version = "0.8.1";
src = fetchFromGitHub {
owner = "jpbarrette";
repo = "curlpp";
rev = "v${version}";
sha256 = "1b0ylnnrhdax4kwjq64r1fk0i24n5ss6zfzf4hxwgslny01xiwrk";
};
patches = [
# https://github.com/jpbarrette/curlpp/pull/171
./curl_8_10_build_failure.patch
];
buildInputs = [ curl ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://www.curlpp.org/";
description = "C++ wrapper around libcURL";
mainProgram = "curlpp-config";
license = licenses.mit;
maintainers = with maintainers; [ CrazedProgrammer ];
};
}