at 22.05-pre 593 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, curl }: 2 3stdenv.mkDerivation rec { 4 pname = "curlcpp"; 5 version = "1.4"; 6 7 src = fetchFromGitHub { 8 owner = "JosephP91"; 9 repo = "curlcpp"; 10 rev = version; 11 sha256 = "1zx76jcddqk4zkcdb6p7rsmkjbbjm2cj6drj0c8hdd61ms1d0f3n"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 buildInputs = [ curl ]; 16 17 meta = with lib; { 18 homepage = "https://josephp91.github.io/curlcpp/"; 19 description = "Object oriented C++ wrapper for CURL"; 20 platforms = platforms.unix; 21 license = licenses.mit; 22 maintainers = with maintainers; [ rszibele ]; 23 }; 24}