nixpkgs/pkgs/development/libraries/curlcpp/default.nix

25 lines
593 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, curl }:
2016-09-01 10:21:17 +01:00
2017-04-22 16:14:33 +01:00
stdenv.mkDerivation rec {
pname = "curlcpp";
2020-06-14 13:53:38 +01:00
version = "1.4";
2016-09-01 10:21:17 +01:00
src = fetchFromGitHub {
owner = "JosephP91";
repo = "curlcpp";
2019-09-09 00:38:31 +01:00
rev = version;
2020-06-14 13:53:38 +01:00
sha256 = "1zx76jcddqk4zkcdb6p7rsmkjbbjm2cj6drj0c8hdd61ms1d0f3n";
2016-09-01 10:21:17 +01:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ curl ];
2016-09-01 10:21:17 +01:00
meta = with lib; {
homepage = "https://josephp91.github.io/curlcpp/";
2016-09-01 10:21:17 +01:00
description = "Object oriented C++ wrapper for CURL";
2017-04-22 16:14:33 +01:00
platforms = platforms.unix;
2016-09-01 10:21:17 +01:00
license = licenses.mit;
maintainers = with maintainers; [ rszibele ];
2016-09-01 10:21:17 +01:00
};
}