nixpkgs/pkgs/development/libraries/curlpp/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
587 B
Nix

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