2016-09-01 10:21:17 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, curl }:
|
|
|
|
|
2017-04-22 16:14:33 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "curlcpp-${version}";
|
2018-07-13 12:02:58 +01:00
|
|
|
version = "1.1";
|
2016-09-01 10:21:17 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JosephP91";
|
|
|
|
repo = "curlcpp";
|
2017-04-22 16:14:33 +01:00
|
|
|
rev = "${version}";
|
2018-07-13 12:02:58 +01:00
|
|
|
sha256 = "025qg5hym73xrvyhalv3jgbf9jqnnzkdjs3zwsgbpqx58zyd5bg5";
|
2016-09-01 10:21:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake curl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://josephp91.github.io/curlcpp/;
|
2016-09-01 10:21:17 +01:00
|
|
|
description = "Object oriented C++ wrapper for CURL";
|
2017-04-22 16:14:33 +01:00
|
|
|
platforms = platforms.unix;
|
2016-09-01 10:21:17 +01:00
|
|
|
license = licenses.mit;
|
2017-04-22 16:14:33 +01:00
|
|
|
maintainers = with maintainers; [ juliendehos rszibele ];
|
2016-09-01 10:21:17 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|