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
37
pkgs/development/libraries/lzo/default.nix
Normal file
37
pkgs/development/libraries/lzo/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{lib, stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lzo";
|
||||
version = "2.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.oberhumer.com/opensource/lzo/download/${pname}-${version}.tar.gz";
|
||||
sha256 = "0wm04519pd3g8hqpjqhfr72q8qmbiwqaxcs3cndny9h86aa95y60";
|
||||
};
|
||||
|
||||
configureFlags = lib.optional (!stdenv.hostPlatform.isStatic) "--enable-shared" ;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true; # not cross;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Real-time data (de)compression library";
|
||||
longDescription = ''
|
||||
LZO is a portable lossless data compression library written in ANSI C.
|
||||
Both the source code and the compressed data format are designed to be
|
||||
portable across platforms.
|
||||
LZO offers pretty fast compression and *extremely* fast decompression.
|
||||
While it favours speed over compression ratio, it includes slower
|
||||
compression levels achieving a quite competitive compression ratio
|
||||
while still decompressing at this very high speed.
|
||||
'';
|
||||
|
||||
homepage = "http://www.oberhumer.com/opensource/lzo";
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue