Unverified Commit 67f56220 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

Move weylus (#398910)

parents 2169c869 9d93fe39
Loading
Loading
Loading
Loading
+1032 −937

File changed and moved.

Preview size limit exceeded, changes collapsed.

+7 −14
Original line number Diff line number Diff line
@@ -19,21 +19,19 @@
  autoconf,
  libtool,
  typescript,
  ApplicationServices,
  Carbon,
  Cocoa,
  VideoToolbox,
  wayland,
  libxkbcommon,
}:

rustPlatform.buildRustPackage rec {
  pname = "weylus";
  version = "unstable-2022-06-07";
  version = "unstable-2025-02-24";

  src = fetchFromGitHub {
    owner = "H-M-H";
    repo = pname;
    rev = "b169a6be2bf3e8d105273d92f032cca5438de53a";
    sha256 = "sha256-J9eVFIfmyBviVuT1MYKb5yoacbPqOAT3A8jahWv5qw8=";
    rev = "5202806798ccca67c24da52ba51ee50b973b7089";
    sha256 = "sha256-lx1ZVp5DkQiL9/vw6PAZ34Lge+K8dfEVh6vLnCUNf7M=";
  };

  buildInputs =
@@ -41,12 +39,6 @@ rustPlatform.buildRustPackage rec {
      ffmpeg
      x264
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      ApplicationServices
      Carbon
      Cocoa
      VideoToolbox
    ]
    ++ lib.optionals stdenv.hostPlatform.isLinux [
      dbus
      libva
@@ -64,6 +56,8 @@ rustPlatform.buildRustPackage rec {
      xorg.libXv
      pango
      libdrm
      wayland
      libxkbcommon
    ];

  nativeBuildInputs =
@@ -111,7 +105,6 @@ rustPlatform.buildRustPackage rec {
  };

  meta = with lib; {
    broken = stdenv.hostPlatform.isDarwin;
    description = "Use your tablet as graphic tablet/touch screen on your computer";
    mainProgram = "weylus";
    homepage = "https://github.com/H-M-H/Weylus";
+0 −9
Original line number Diff line number Diff line
@@ -1113,15 +1113,6 @@ with pkgs;
  fontbakery = with python3Packages; toPythonApplication fontbakery;
  weylus = callPackage ../applications/graphics/weylus {
    inherit (darwin.apple_sdk.frameworks)
      ApplicationServices
      Carbon
      Cocoa
      VideoToolbox
      ;
  };
  genealogos-api = genealogos-cli.override {
    crate = "api";
  };