python311Packages.pyqt6: 6.6.1 -> 6.7.0.dev2404081550
This commit is contained in:
parent
1763b81ae5
commit
30f9a9540b
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchurl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, dbus
|
, dbus
|
||||||
, lndir
|
, lndir
|
||||||
|
@ -23,15 +23,17 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyqt6";
|
pname = "pyqt6";
|
||||||
version = "6.6.1";
|
version = "6.7.0.dev2404081550";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchurl {
|
||||||
pname = "PyQt6";
|
urls = [
|
||||||
inherit version;
|
"https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz"
|
||||||
hash = "sha256-nxWKop0gUULFbw810HeEuN8L4oN40gqXvNqL1k/9A3k=";
|
"http://web.archive.org/web/20240411124842if_/https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz"
|
||||||
|
];
|
||||||
|
hash = "sha256-H5qZ/rnruGh+UVSXLZyTSvjagmmli/iYq+7BaIzl1YQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -44,11 +46,15 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
# be more verbose
|
# be more verbose
|
||||||
|
# and normalize version
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cat >> pyproject.toml <<EOF
|
cat >> pyproject.toml <<EOF
|
||||||
[tool.sip.project]
|
[tool.sip.project]
|
||||||
verbose = true
|
verbose = true
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace-fail 'version = "${version}"' 'version = "${lib.versions.pad 3 version}"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user