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
49
pkgs/development/python-modules/pivy/default.nix
Normal file
49
pkgs/development/python-modules/pivy/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pkgs, qtbase, qmake, soqt }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pivy";
|
||||
version = "0.6.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coin3d";
|
||||
repo = "pivy";
|
||||
rev = version;
|
||||
sha256 = "1xlynrbq22pb252r37r80b3myzap8hzhvknz4zfznfrsg9ykh8k2";
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
swig qmake cmake
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; with xorg; [
|
||||
coin3d soqt qtbase
|
||||
libGLU libGL
|
||||
libXi libXext libSM libICE libX11
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = toString [
|
||||
"-I${qtbase.dev}/include/QtCore"
|
||||
"-I${qtbase.dev}/include/QtGui"
|
||||
"-I${qtbase.dev}/include/QtOpenGL"
|
||||
"-I${qtbase.dev}/include/QtWidgets"
|
||||
];
|
||||
|
||||
dontUseQmakeConfigure = true;
|
||||
dontWrapQtApps =true;
|
||||
doCheck = false;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace distutils_cmake/CMakeLists.txt --replace \$'{SoQt_INCLUDE_DIRS}' \
|
||||
\$'{Coin_INCLUDE_DIR}'\;\$'{SoQt_INCLUDE_DIRS}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/coin3d/pivy/";
|
||||
description = "A Python binding for Coin";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue