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/cpp-netlib/default.nix
Normal file
36
pkgs/development/libraries/cpp-netlib/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, boost, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cpp-netlib";
|
||||
version = "0.13.0-final";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "18782sz7aggsl66b4mmi1i0ijwa76iww337fi9sygnplz2hs03a3";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ boost openssl ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCPP-NETLIB_BUILD_SHARED_LIBS=ON"
|
||||
];
|
||||
|
||||
# The test driver binary lacks an RPath to the library's libs
|
||||
preCheck = ''
|
||||
export LD_LIBRARY_PATH=$PWD/libs/network/src
|
||||
'';
|
||||
|
||||
# Most tests make network GET requests to various websites
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of open-source libraries for high level network programming";
|
||||
homepage = "https://cpp-netlib.org";
|
||||
license = licenses.boost;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue