mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
585 B
Nix
24 lines
585 B
Nix
{ 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 ];
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://www.curlpp.org/;
|
|
description = "C++ wrapper around libcURL";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ CrazedProgrammer ];
|
|
};
|
|
}
|