2018-12-29 14:26:08 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, curl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "curlpp";
|
2018-12-29 14:26:08 +00:00
|
|
|
version = "0.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jpbarrette";
|
|
|
|
repo = "curlpp";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1b0ylnnrhdax4kwjq64r1fk0i24n5ss6zfzf4hxwgslny01xiwrk";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ curl ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.curlpp.org/";
|
2018-12-29 14:26:08 +00:00
|
|
|
description = "C++ wrapper around libcURL";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ CrazedProgrammer ];
|
|
|
|
};
|
|
|
|
}
|