uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/development/libraries/lightstep-tracer-cpp/default.nix
Normal file
36
pkgs/development/libraries/lightstep-tracer-cpp/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake
|
||||
, opentracing-cpp, protobuf
|
||||
, enableGrpc ? false, grpc, openssl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lightstep-tracer-cpp";
|
||||
version = "0.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lightstep";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1xr11dm94qpbx3nxb7si7zy7hzg2akj01pyxkd8pzzbvmkmic16j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
opentracing-cpp protobuf
|
||||
] ++ lib.optionals enableGrpc [
|
||||
grpc openssl
|
||||
];
|
||||
|
||||
cmakeFlags = lib.optionals (!enableGrpc) [ "-DWITH_GRPC=OFF" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distributed tracing system built on top of the OpenTracing standard";
|
||||
homepage = "https://lightstep.com/";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue