Commit a4307a33 authored by Ulrik Strid's avatar Ulrik Strid
Browse files

python3Packages.pyqt6: 6.7.1 -> 6.8.0.dev2410141303

parent 63eab149
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  stdenv,
  buildPythonPackage,
  fetchPypi,
  fetchurl,
  pkg-config,
  dbus,
  lndir,
@@ -25,15 +25,15 @@

buildPythonPackage rec {
  pname = "pyqt6";
  version = "6.7.1";
  version = "6.8.0.dev2410141303";
  format = "pyproject";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    pname = "PyQt6";
    inherit version;
    hash = "sha256-NnKoLM06YumasgChOQNCHiko45n9olztmNFAMTrVnLk=";
  # This is dangerous, how can we get web archive to archive the URL?
  src = fetchurl {
    url = "https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz";
    hash = "sha256-eHYqj22us07uFkErJD2d0y0wueZxtQTwTFW9cI7yoK4=";
  };

  patches = [
@@ -53,8 +53,11 @@ buildPythonPackage rec {
    verbose = true
    EOF

    # pythonRelaxDeps doesn't work and the wanted versions are not released AFAIK
    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;
+2 −2
Original line number Diff line number Diff line
@@ -24,12 +24,12 @@ buildPythonPackage rec {
    hash = "sha256-f8lZ5I5uxdWvi9Am9p9eJNCLPLirs0IXb1q4AwzAfXo=";
  };

  nativeBuildInputs = [
  build-system = [
    setuptools
    setuptools-scm
  ];

  propagatedBuildInputs = [
  dependencies = [
    packaging
    setuptools
  ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];