1{ lib, stdenv, fetchFromGitHub, cmake, curl }:
2
3stdenv.mkDerivation rec {
4 pname = "curlpp";
5 version = "0.8.1";
6 src = fetchFromGitHub {
7 owner = "jpbarrette";
8 repo = "curlpp";
9 rev = "v${version}";
10 sha256 = "1b0ylnnrhdax4kwjq64r1fk0i24n5ss6zfzf4hxwgslny01xiwrk";
11 };
12
13 buildInputs = [ curl ];
14 nativeBuildInputs = [ cmake ];
15
16 meta = with lib; {
17 homepage = "https://www.curlpp.org/";
18 description = "C++ wrapper around libcURL";
19 license = licenses.mit;
20 maintainers = with maintainers; [ CrazedProgrammer ];
21 };
22}