mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-19 21:58:39 +03:00
regenerate all distros, Fri Jun 12 18:02:43 2020
This commit is contained in:
parent
2387d4135a
commit
e68c29e498
434 changed files with 11020 additions and 92 deletions
36
distros/foxy/python-qt-binding/default.nix
Normal file
36
distros/foxy/python-qt-binding/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
|
||||
# Copyright 2020 Open Source Robotics Foundation
|
||||
# Distributed under the terms of the BSD license
|
||||
|
||||
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, python3Packages, qt5 }:
|
||||
buildRosPackage {
|
||||
pname = "ros-foxy-python-qt-binding";
|
||||
version = "1.0.5-r1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ros2-gbp/python_qt_binding-release/archive/release/foxy/python_qt_binding/1.0.5-1.tar.gz";
|
||||
name = "1.0.5-1.tar.gz";
|
||||
sha256 = "f914e6d0b4c6c2e79ce000cd4d98117f08567a781e1a542d9d551f2c455f8132";
|
||||
};
|
||||
|
||||
buildType = "ament_cmake";
|
||||
buildInputs = [ qt5.qtbase ];
|
||||
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common ];
|
||||
propagatedBuildInputs = [ python3Packages.pyqt5 ];
|
||||
nativeBuildInputs = [ ament-cmake ];
|
||||
|
||||
meta = {
|
||||
description = ''This stack provides Python bindings for Qt.
|
||||
There are two providers: pyside and pyqt. PySide2 is available under
|
||||
the GPL, LGPL and a commercial license. PyQt is released under the GPL.
|
||||
|
||||
Both the bindings and tools to build bindings are included from each
|
||||
available provider. For PySide, it is called "Shiboken". For PyQt,
|
||||
this is called "SIP".
|
||||
|
||||
Also provided is adapter code to make the user's Python code
|
||||
independent of which binding provider was actually used which makes
|
||||
it very easy to switch between these.'';
|
||||
license = with lib.licenses; [ bsdOriginal ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue