2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, curl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "curlpp";
|
|
|
|
version = "0.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jpbarrette";
|
|
|
|
repo = "curlpp";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1b0ylnnrhdax4kwjq64r1fk0i24n5ss6zfzf4hxwgslny01xiwrk";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ curl ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.curlpp.org/";
|
|
|
|
description = "C++ wrapper around libcURL";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "curlpp-config";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ CrazedProgrammer ];
|
|
|
|
};
|
|
|
|
}
|