2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, curl }:
|
2016-09-01 11:21:17 +02:00
|
|
|
|
2017-04-22 17:14:33 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "curlcpp";
|
2020-06-14 14:53:38 +02:00
|
|
|
version = "1.4";
|
2016-09-01 11:21:17 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JosephP91";
|
|
|
|
repo = "curlcpp";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2020-06-14 14:53:38 +02:00
|
|
|
sha256 = "1zx76jcddqk4zkcdb6p7rsmkjbbjm2cj6drj0c8hdd61ms1d0f3n";
|
2016-09-01 11:21:17 +02:00
|
|
|
};
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ curl ];
|
2016-09-01 11:21:17 +02:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://josephp91.github.io/curlcpp/";
|
2016-09-01 11:21:17 +02:00
|
|
|
description = "Object oriented C++ wrapper for CURL";
|
2017-04-22 17:14:33 +02:00
|
|
|
platforms = platforms.unix;
|
2016-09-01 11:21:17 +02:00
|
|
|
license = licenses.mit;
|
2020-06-19 08:42:04 +02:00
|
|
|
maintainers = with maintainers; [ rszibele ];
|
2016-09-01 11:21:17 +02:00
|
|
|
};
|
|
|
|
}
|