git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #57108 from FlorianFranzen/pyside-tools

pythonPackages.pysideTools: Use fetchFromGitHub and update meta

commit5aa04754e568a41353548bc8a9e0d299e7bfb201 authorworldofpeace <worldofpeace@users.noreply.github.com> dateThu 25 Apr 2019, 07:36 (8 years ago) parent1a00980cdf35c4
1 file changed+11−12
pkgs/development/python-modules/pyside/tools.nix+11−12
pkgs/development/python-modules/pyside/tools.nix+11−12
@@ -1,29 +1,28 @@
1−{ lib, fetchurl, cmake, pyside, qt4, pysideShiboken, buildPythonPackage }:
1+{ lib, buildPythonPackage, fetchFromGitHub, cmake, qt4, pyside, pysideShiboken }:
22
3−# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
43buildPythonPackage rec {
54 pname = "pyside-tools";
65 version = "0.2.15";
76 format = "other";
87
9− src = fetchurl {
10− url = "https://github.com/PySide/Tools/archive/0.2.15.tar.gz";
11− sha256 = "0x4z3aq7jgar74gxzwznl3agla9i1dcskw5gh11jnnwwn63ffzwa";
8+ src = fetchFromGitHub {
9+ owner = "PySide";
10+ repo = "Tools";
11+ rev = version;
12+ sha256 = "017i2yxgjrisaifxqnl3ym8ijl63l2yl6a3474dsqhlyqz2nx2ll";
1213 };
1314
14− enableParallelBuilding = true;
15−
1615 nativeBuildInputs = [ cmake ];
1716
1817 buildInputs = [ qt4 ];
1918
2019 propagatedBuildInputs = [ pyside pysideShiboken ];
2120
22− meta = {
23− description = "Tools for pyside, the LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
24− license = lib.licenses.gpl2;
25− homepage = http://www.pyside.org;
21+ meta = with lib; {
22+ description = "Development tools (pyside-uic/rcc/lupdate) for PySide, the LGPL-licensed Python bindings for the Qt framework";
23+ license = licenses.gpl2;
24+ homepage = https://wiki.qt.io/PySide;
2625 maintainers = [ ];
27− platforms = lib.platforms.all;
26+ platforms = platforms.all;
2827 };
2928}