python3Packages.pyqt6: 6.7.1 -> 6.8.0.dev2410141303

This commit is contained in:
Ulrik Strid 2024-10-15 15:30:22 +02:00
parent 63eab14928
commit a4307a33c0
2 changed files with 12 additions and 9 deletions

View File

@ -2,7 +2,7 @@
lib, lib,
stdenv, stdenv,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchurl,
pkg-config, pkg-config,
dbus, dbus,
lndir, lndir,
@ -25,15 +25,15 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyqt6"; pname = "pyqt6";
version = "6.7.1"; version = "6.8.0.dev2410141303";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { # This is dangerous, how can we get web archive to archive the URL?
pname = "PyQt6"; src = fetchurl {
inherit version; url = "https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz";
hash = "sha256-NnKoLM06YumasgChOQNCHiko45n9olztmNFAMTrVnLk="; hash = "sha256-eHYqj22us07uFkErJD2d0y0wueZxtQTwTFW9cI7yoK4=";
}; };
patches = [ patches = [
@ -53,8 +53,11 @@ buildPythonPackage rec {
verbose = true verbose = true
EOF EOF
# pythonRelaxDeps doesn't work and the wanted versions are not released AFAIK
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace-fail 'version = "${version}"' 'version = "${lib.versions.pad 3 version}"' --replace-fail 'version = "${version}"' 'version = "${lib.versions.pad 3 version}"' \
--replace-fail "sip >=6.9, <7" "sip >=6.8.6, <7" \
--replace-fail 'PyQt-builder >=1.17, <2' "PyQt-builder >=1.16, <2"
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -24,12 +24,12 @@ buildPythonPackage rec {
hash = "sha256-f8lZ5I5uxdWvi9Am9p9eJNCLPLirs0IXb1q4AwzAfXo="; hash = "sha256-f8lZ5I5uxdWvi9Am9p9eJNCLPLirs0IXb1q4AwzAfXo=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
packaging packaging
setuptools setuptools
] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];