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
28
pkgs/development/libraries/libqglviewer/default.nix
Normal file
28
pkgs/development/libraries/libqglviewer/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, qmake, qtbase, libGLU, AGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libqglviewer";
|
||||
version = "2.7.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.libqglviewer.com/src/libQGLViewer-${version}.tar.gz";
|
||||
sha256 = "023w7da1fyn2z69nbkp2rndiv886zahmc5cmira79zswxjfpklp2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qtbase libGLU ]
|
||||
++ lib.optional stdenv.isDarwin AGL;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postPatch = ''
|
||||
cd QGLViewer
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C++ library based on Qt that eases the creation of OpenGL 3D viewers";
|
||||
homepage = "http://libqglviewer.com";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue