core/pkgs/by-name/cu/curlpp/default.nix

30 lines
598 B
Nix
Raw Normal View History

2024-06-30 08:12:46 +00:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
curl,
}:
2024-05-02 00:46:19 +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 ];
meta = with lib; {
homepage = "https://www.curlpp.org/";
description = "C++ wrapper around libcURL";
mainProgram = "curlpp-config";
license = licenses.mit;
maintainers = with maintainers; [ CrazedProgrammer ];
};
}