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
32
pkgs/development/libraries/qmlbox2d/default.nix
Normal file
32
pkgs/development/libraries/qmlbox2d/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{lib, stdenv, qtdeclarative, fetchFromGitHub, qmake }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "qml-box2d";
|
||||
version = "unstable-2018-04-06";
|
||||
src = fetchFromGitHub {
|
||||
owner = "qml-box2d";
|
||||
repo = "qml-box2d";
|
||||
sha256 = "0gb8limy6ck23z3k0k2j7c4c4s95p40f6lbzk4szq7fjnnw22kb7";
|
||||
rev = "b7212d5640701f93f0cd88fbd3a32c619030ae62";
|
||||
};
|
||||
|
||||
dontWrapQtApps = true;
|
||||
nativeBuildInputs = [ qmake ];
|
||||
|
||||
buildInputs = [ qtdeclarative ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace box2d.pro \
|
||||
--replace '$$[QT_INSTALL_QML]' "/$qtQmlPrefix/"
|
||||
qmakeFlags="$qmakeFlags PREFIXSHORTCUT=$out"
|
||||
'';
|
||||
|
||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A QML plugin for Box2D engine";
|
||||
homepage = "https://github.com/qml-box2d/qml-box2d";
|
||||
maintainers = [ maintainers.guibou ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.zlib;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue