Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 curl, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "curlpp"; 11 version = "0.8.1"; 12 src = fetchFromGitHub { 13 owner = "jpbarrette"; 14 repo = "curlpp"; 15 rev = "v${version}"; 16 sha256 = "1b0ylnnrhdax4kwjq64r1fk0i24n5ss6zfzf4hxwgslny01xiwrk"; 17 }; 18 19 patches = [ 20 # https://github.com/jpbarrette/curlpp/pull/171 21 ./curl_8_10_build_failure.patch 22 ]; 23 24 buildInputs = [ curl ]; 25 nativeBuildInputs = [ cmake ]; 26 27 meta = with lib; { 28 homepage = "https://www.curlpp.org/"; 29 description = "C++ wrapper around libcURL"; 30 mainProgram = "curlpp-config"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ CrazedProgrammer ]; 33 }; 34}