@@ -1,10 +1,14 @@
1−{ stdenv, fetchurl, cmake, libxml2, libxslt, pysideApiextractor, pysideGeneratorrunner, python, sphinx, qt4, isPy3k, isPy35 }:
1+{ lib, fetchurl, cmake, buildPythonPackage, libxml2, libxslt, pysideApiextractor, pysideGeneratorrunner, python, sphinx, qt4, isPy3k, isPy35 }:
22
3+# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
34# Python 3.5 is not supported: https://github.com/PySide/Shiboken/issues/77
4−stdenv.mkDerivation rec {
5− name = "pyside-shiboken-${version}";
5+buildPythonPackage rec {
6+ name = "${pname}-${version}";
7+ pname = "pyside-shiboken";
68 version = "1.2.4";
79
10+ format = "other";
11+
812 src = fetchurl {
913 url = "https://github.com/PySide/Shiboken/archive/${version}.tar.gz";
1014 sha256 = "1536f73a3353296d97a25e24f9554edf3e6a48126886f8d21282c3645ecb96a4";
@@ -25,9 +29,9 @@ stdenv.mkDerivation rec {
2529
2630 meta = {
2731 description = "Plugin (front-end) for pyside-generatorrunner, that generates bindings for C++ libraries using CPython source code";
28− license = stdenv.lib.licenses.gpl2;
32+ license = lib.licenses.gpl2;
2933 homepage = "http://www.pyside.org/docs/shiboken/";
30− maintainers = [ stdenv.lib.maintainers.chaoflow ];
31− platforms = stdenv.lib.platforms.all;
34+ maintainers = [ lib.maintainers.chaoflow ];
35+ platforms = lib.platforms.all;
3236 };
3337}