Move weylus (#398910)
This commit is contained in:
+1061
-966
File diff suppressed because it is too large
Load Diff
@@ -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";
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user