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}";
|
|
|
|
version = "1.0";
|
2016-09-01 10:21:17 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JosephP91";
|
|
|
|
repo = "curlcpp";
|
2017-04-22 16:14:33 +01:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1akibhrmqsy0dlz9lq93508bhkh7r1l0aycbzy2x45a9gqxfdi4q";
|
2016-09-01 10:21:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake curl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://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
|
|
|
};
|
|
|
|
}
|
|
|
|
|