pythonPackages.pysideTools: Use fetchFromGitHub and update meta

This commit is contained in:
Florian Franzen 2019-04-25 13:04:18 +02:00
parent 73debdc298
commit cdf35c4f17

View File

@ -1,29 +1,28 @@
{ lib, fetchurl, cmake, pyside, qt4, pysideShiboken, buildPythonPackage }: { lib, buildPythonPackage, fetchFromGitHub, cmake, qt4, pyside, pysideShiboken }:
# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyside-tools"; pname = "pyside-tools";
version = "0.2.15"; version = "0.2.15";
format = "other"; format = "other";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/PySide/Tools/archive/0.2.15.tar.gz"; owner = "PySide";
sha256 = "0x4z3aq7jgar74gxzwznl3agla9i1dcskw5gh11jnnwwn63ffzwa"; repo = "Tools";
rev = version;
sha256 = "017i2yxgjrisaifxqnl3ym8ijl63l2yl6a3474dsqhlyqz2nx2ll";
}; };
enableParallelBuilding = true;
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 ]; buildInputs = [ qt4 ];
propagatedBuildInputs = [ pyside pysideShiboken ]; propagatedBuildInputs = [ pyside pysideShiboken ];
meta = { meta = with lib; {
description = "Tools for pyside, the LGPL-licensed Python bindings for the Qt cross-platform application and UI framework"; description = "Development tools (pyside-uic/rcc/lupdate) for PySide, the LGPL-licensed Python bindings for the Qt framework";
license = lib.licenses.gpl2; license = licenses.gpl2;
homepage = http://www.pyside.org; homepage = https://wiki.qt.io/PySide;
maintainers = [ ]; maintainers = [ ];
platforms = lib.platforms.all; platforms = platforms.all;
}; };
} }