python3Packages.pysideShiboken: use fetchFromGitHub

This commit is contained in:
Jonathan Ringer 2020-10-19 23:03:03 -07:00 committed by Jon
parent 0b27960dcc
commit e09dbe3fb1

View File

@ -1,29 +1,30 @@
{ lib, fetchurl, buildPythonPackage { lib, fetchFromGitHub, buildPythonPackage
, cmake , cmake
, libxml2
, pkg-config
, libxslt
, pysideApiextractor
, pysideGeneratorrunner
, python
, sphinx
, qt4
, isPy3k
, isPy35 , isPy35
, isPy36 , isPy36
, isPy37 , isPy37
, isPy3k
, libxml2
, libxslt
, pkg-config
, pysideApiextractor
, pysideGeneratorrunner
, python
, qt4
, sphinx
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyside-shiboken"; pname = "pyside-shiboken";
version = "1.2.4"; version = "1.2.4";
format = "other";
disabled = !isPy3k; disabled = !isPy3k;
format = "other"; src = fetchFromGitHub {
owner = "PySide";
src = fetchurl { repo = "Shiboken";
url = "https://github.com/PySide/Shiboken/archive/${version}.tar.gz"; rev = version;
sha256 = "1536f73a3353296d97a25e24f9554edf3e6a48126886f8d21282c3645ecb96a4"; sha256 = "0x2lyg52m6a0vn0665pgd1z1qrydglyfxxcggw6xzngpnngb6v5v";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;