1{ stdenv, fetchFromGitHub, cmake, curl }:
2
3stdenv.mkDerivation rec {
4 name = "curlcpp-${version}";
5 version = "1.1";
6
7 src = fetchFromGitHub {
8 owner = "JosephP91";
9 repo = "curlcpp";
10 rev = "${version}";
11 sha256 = "025qg5hym73xrvyhalv3jgbf9jqnnzkdjs3zwsgbpqx58zyd5bg5";
12 };
13
14 buildInputs = [ cmake curl ];
15
16 meta = with stdenv.lib; {
17 homepage = https://josephp91.github.io/curlcpp/;
18 description = "Object oriented C++ wrapper for CURL";
19 platforms = platforms.unix;
20 license = licenses.mit;
21 maintainers = with maintainers; [ juliendehos rszibele ];
22 };
23}
24