Unverified Commit b409ece8 authored by Spencer Heywood's avatar Spencer Heywood
Browse files

guake: fix build with newer python version

parent d2a7c840
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@
  lib,
  fetchFromGitHub,
  fetchpatch,
  python311,
  python311Packages,
  python3,
  python3Packages,
  glibcLocales,
  gobject-introspection,
  wrapGAppsHook3,
@@ -17,7 +17,7 @@
  nixosTests,
}:

python311Packages.buildPythonApplication (finalAttrs: {
python3Packages.buildPythonApplication (finalAttrs: {
  pname = "guake";
  version = "3.10.1";

@@ -30,6 +30,10 @@ python311Packages.buildPythonApplication (finalAttrs: {
    hash = "sha256-TTDVJeM37SbpWucJGYoeYX9t4r1k3ldru9Cd02hBrU4=";
  };

  build-system = with python3Packages; [
    distutils
  ];

  patches = [
    # Avoid trying to recompile schema at runtime,
    # the package should be responsible for ensuring it is up to date.
@@ -57,7 +61,7 @@ python311Packages.buildPythonApplication (finalAttrs: {
  nativeBuildInputs = [
    gobject-introspection
    wrapGAppsHook3
    python311Packages.pip
    python3Packages.pip
  ];

  buildInputs = [
@@ -66,18 +70,19 @@ python311Packages.buildPythonApplication (finalAttrs: {
    keybinder3
    libnotify
    libwnck
    python311
    python3
    vte
  ];

  makeWrapperArgs = [ "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive" ];

  propagatedBuildInputs = with python311Packages; [
  propagatedBuildInputs = with python3Packages; [
    dbus-python
    pycairo
    pygobject3
    setuptools-scm
    pyyaml
    distutils
  ];

  makeFlags = [