2016-09-01 12:21:17 +03:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, curl }:
|
|
|
|
|
2017-04-22 18:14:33 +03:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "curlcpp-${version}";
|
|
|
|
version = "1.0";
|
2016-09-01 12:21:17 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JosephP91";
|
|
|
|
repo = "curlcpp";
|
2017-04-22 18:14:33 +03:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1akibhrmqsy0dlz9lq93508bhkh7r1l0aycbzy2x45a9gqxfdi4q";
|
2016-09-01 12:21:17 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake curl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://josephp91.github.io/curlcpp/";
|
|
|
|
description = "Object oriented C++ wrapper for CURL";
|
2017-04-22 18:14:33 +03:00
|
|
|
platforms = platforms.unix;
|
2016-09-01 12:21:17 +03:00
|
|
|
license = licenses.mit;
|
2017-04-22 18:14:33 +03:00
|
|
|
maintainers = with maintainers; [ juliendehos rszibele ];
|
2016-09-01 12:21:17 +03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|