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
34
pkgs/development/libraries/uriparser/default.nix
Normal file
34
pkgs/development/libraries/uriparser/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchurl, cmake, gtest }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "uriparser";
|
||||
version = "0.9.6";
|
||||
|
||||
# Release tarball differs from source tarball
|
||||
src = fetchurl {
|
||||
url = "https://github.com/uriparser/uriparser/releases/download/${pname}-${version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "9ce4c3f151e78579f23937b44abecb428126863ad02e594e115e882353de905b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DURIPARSER_BUILD_DOCS=OFF"
|
||||
] ++ lib.optional (!doCheck) "-DURIPARSER_BUILD_TESTS=OFF";
|
||||
|
||||
checkInputs = [ gtest ];
|
||||
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Strictly RFC 3986 compliant URI parsing library";
|
||||
longDescription = ''
|
||||
uriparser is a strictly RFC 3986 compliant URI parsing and handling library written in C.
|
||||
API documentation is available on uriparser website.
|
||||
'';
|
||||
homepage = "https://uriparser.github.io/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bosu ];
|
||||
mainProgram = "uriparse";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue