Files
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

35 lines
686 B
Nix

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