Unverified Commit 20ed2c3f authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

kdotool: fix build using upstream patch (#485686)

parents 327ce3d1 475ed21c
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch,
  rustPlatform,
  pkg-config,
  dbus,
@@ -17,6 +18,18 @@ rustPlatform.buildRustPackage (finalAttrs: {
    hash = "sha256-qx4bWAFQcoLM/r4aNzmoZdjclw8ccAW8lKLda6ON1aQ=";
  };

  patches = [
    # Remove these two on next release.
    (fetchpatch {
      url = "https://github.com/jinliu/kdotool/commit/049e3f5620ad8c5484241d7d06d742bc17d423ed.patch";
      hash = "sha256-VTpHlT6XMVRgJIeLjxZPHkzaYFZCYtS8IAD0mKZ8rzs=";
    })
    (fetchpatch {
      url = "https://github.com/jinliu/kdotool/commit/e0a3bff3b5d9882033dd72836e5fcff572b64135.patch";
      hash = "sha256-6IsV9O2h9N/FxGQRHS8qAbEqdr7282ziGza5K52vpPk=";
    })
  ];

  cargoHash = "sha256-ASR2zMwVCKeEZPYQNoO54J00eZyTn1i6FE0NBCJWSCs=";

  nativeBuildInputs = [ pkg-config ];