diff --git a/pkgs/development/libraries/curlpp/default.nix b/pkgs/development/libraries/curlpp/default.nix new file mode 100644 index 000000000000..58f88e6d8ebf --- /dev/null +++ b/pkgs/development/libraries/curlpp/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, cmake, curl }: + +stdenv.mkDerivation rec { + name = "curlpp-${version}"; + version = "0.8.1"; + src = fetchFromGitHub { + owner = "jpbarrette"; + repo = "curlpp"; + rev = "v${version}"; + sha256 = "1b0ylnnrhdax4kwjq64r1fk0i24n5ss6zfzf4hxwgslny01xiwrk"; + }; + + buildInputs = [ curl ]; + nativeBuildInputs = [ cmake ]; + enableParallelBuilding = true; + + meta = with stdenv.lib; { + homepage = https://www.curlpp.org/; + description = "C++ wrapper around libcURL"; + license = licenses.mit; + maintainers = with maintainers; [ CrazedProgrammer ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 53bb883b55ac..86a72afdfe38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9535,6 +9535,8 @@ in curlcpp = callPackage ../development/libraries/curlcpp { }; + curlpp = callPackage ../development/libraries/curlpp { }; + cutee = callPackage ../development/libraries/cutee { }; cutelyst = libsForQt5.callPackage ../development/libraries/cutelyst { };