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
44
pkgs/development/libraries/python-qt/default.nix
Normal file
44
pkgs/development/libraries/python-qt/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchurl, python, qmake,
|
||||
qtwebengine, qtxmlpatterns,
|
||||
qttools, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.2";
|
||||
pname = "python-qt";
|
||||
|
||||
src = fetchurl {
|
||||
url="mirror://sourceforge/pythonqt/PythonQt${version}.zip";
|
||||
sha256="13hzprk58m3yj39sj0xn6acg8796lll1256mpd81kw0z3yykyl8c";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
|
||||
nativeBuildInputs = [ qmake qtwebengine qtxmlpatterns qttools unzip ];
|
||||
|
||||
buildInputs = [ python ];
|
||||
|
||||
qmakeFlags = [ "PythonQt.pro"
|
||||
"INCLUDEPATH+=${python}/include/python3.6"
|
||||
"PYTHON_PATH=${python}/bin"
|
||||
"PYTHON_LIB=${python}/lib"];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
unpackCmd = "unzip $src";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include/PythonQt
|
||||
cp -r ./lib $out
|
||||
cp -r ./src/* $out/include/PythonQt
|
||||
cp -r ./build $out/include/PythonQt
|
||||
cp -r ./extensions $out/include/PythonQt
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "PythonQt is a dynamic Python binding for the Qt framework. It offers an easy way to embed the Python scripting language into your C++ Qt applications";
|
||||
homepage = "http://pythonqt.sourceforge.net/";
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ hlolli ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue