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
29
pkgs/applications/misc/spacenav-cube-example/default.nix
Normal file
29
pkgs/applications/misc/spacenav-cube-example/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, lib, libspnav, libX11, mesa_glu }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "spacenav-cube-example";
|
||||
version = libspnav.version;
|
||||
|
||||
src = libspnav.src;
|
||||
|
||||
sourceRoot = "source/examples/cube";
|
||||
|
||||
buildInputs = [ libX11 mesa_glu libspnav ];
|
||||
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
cp cube $out/bin/spacenav-cube-example
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://spacenav.sourceforge.net/";
|
||||
description = "An example application to test the spacenavd driver";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ sohalt ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue