about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/curlpp/default.nix
blob: 0aee75751d9ec24cd626aad53d409e72332d5b7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchFromGitHub, cmake, curl }:

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";
    license = licenses.mit;
    maintainers = with maintainers; [ CrazedProgrammer ];
  };
}