about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyside/tools.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyside/tools.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pyside/tools.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyside/tools.nix b/nixpkgs/pkgs/development/python-modules/pyside/tools.nix
new file mode 100644
index 000000000000..e23e63525183
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/pyside/tools.nix
@@ -0,0 +1,29 @@
+{ lib, fetchurl, cmake, pyside, qt4, pysideShiboken, buildPythonPackage }:
+
+# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
+buildPythonPackage rec {
+  pname = "pyside-tools";
+  version = "0.2.15";
+  format = "other";
+
+  src = fetchurl {
+    url = "https://github.com/PySide/Tools/archive/0.2.15.tar.gz";
+    sha256 = "0x4z3aq7jgar74gxzwznl3agla9i1dcskw5gh11jnnwwn63ffzwa";
+  };
+
+  enableParallelBuilding = true;
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [ qt4 ];
+
+  propagatedBuildInputs = [ pyside pysideShiboken ];
+
+  meta = {
+    description = "Tools for pyside, the LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
+    license = lib.licenses.gpl2;
+    homepage = http://www.pyside.org;
+    maintainers = [ ];
+    platforms = lib.platforms.all;
+  };
+}