mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-19 16:40:36 +03:00
Move everything in rosPackages to its own directory.
This commit is contained in:
parent
fe0a4494ef
commit
444edcec26
5725 changed files with 3 additions and 3 deletions
35
distros/melodic/python-qt-binding/default.nix
Normal file
35
distros/melodic/python-qt-binding/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
|
||||
# Copyright 2020 Open Source Robotics Foundation
|
||||
# Distributed under the terms of the BSD license
|
||||
|
||||
{ lib, buildRosPackage, fetchurl, catkin, pythonPackages, qt5, rosbuild }:
|
||||
buildRosPackage {
|
||||
pname = "ros-melodic-python-qt-binding";
|
||||
version = "0.3.6-r2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ros-gbp/python_qt_binding-release/archive/release/melodic/python_qt_binding/0.3.6-2.tar.gz";
|
||||
name = "0.3.6-2.tar.gz";
|
||||
sha256 = "c0da8f11b40cde04f93e39b7f6f384fdaccf0a8e88d18780bf0d854d14876d7a";
|
||||
};
|
||||
|
||||
buildType = "catkin";
|
||||
buildInputs = [ qt5.qtbase rosbuild ];
|
||||
propagatedBuildInputs = [ catkin pythonPackages.pyqt5 ];
|
||||
nativeBuildInputs = [ catkin ];
|
||||
|
||||
meta = {
|
||||
description = ''This stack provides Python bindings for Qt.
|
||||
There are two providers: pyside and pyqt. PySide is released under
|
||||
the LGPL. 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