2021-01-15 22:18:51 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, curl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "curlcpp";
|
2020-06-18 07:06:33 +00:00
|
|
|
version = "1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JosephP91";
|
|
|
|
repo = "curlcpp";
|
|
|
|
rev = version;
|
2020-06-18 07:06:33 +00:00
|
|
|
sha256 = "1zx76jcddqk4zkcdb6p7rsmkjbbjm2cj6drj0c8hdd61ms1d0f3n";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ curl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://josephp91.github.io/curlcpp/";
|
|
|
|
description = "Object oriented C++ wrapper for CURL";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
2020-06-15 15:56:04 +00:00
|
|
|
maintainers = with maintainers; [ rszibele ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|