2016-09-01 11:21:17 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, curl }:
|
|
|
|
|
2017-04-22 17:14:33 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "curlcpp-${version}";
|
2018-07-13 13:02:58 +02:00
|
|
|
version = "1.1";
|
2016-09-01 11:21:17 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JosephP91";
|
|
|
|
repo = "curlcpp";
|
2017-04-22 17:14:33 +02:00
|
|
|
rev = "${version}";
|
2018-07-13 13:02:58 +02:00
|
|
|
sha256 = "025qg5hym73xrvyhalv3jgbf9jqnnzkdjs3zwsgbpqx58zyd5bg5";
|
2016-09-01 11:21:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake curl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-01-05 20:42:46 +01: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;
|
2017-04-22 17:14:33 +02:00
|
|
|
maintainers = with maintainers; [ juliendehos rszibele ];
|
2016-09-01 11:21:17 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|