17 rustPlatform.buildRustPackage rec {
21 src = fetchFromGitHub {
25 hash = "sha256-pJ+SUNGQS/kqBdOg21GgDeZThcjnB0FhgG00qLfqxYA=";
28 cargoHash = "sha256-PCJiSyfEgK8inzoRmRvnAU50kLnyVhNrgLrwtBUFpIU=";
53 doCheck = false; # tests require networking
61 categories = [ "AudioVideo" ];
62 startupWMClass = "moe.tsuna.tsukimi";
63 desktopName = "Tsukimi";
68 substituteInPlace build.rs \
69 --replace-fail 'i18n/locale' "$out/share/locale"
71 substituteInPlace src/main.rs \
72 --replace-fail '/usr/share/locale' "$out/share/locale"
76 install -Dm644 moe.tsuna.tsukimi.gschema.xml -t $out/share/glib-2.0/schemas
77 glib-compile-schemas $out/share/glib-2.0/schemas
79 install -Dm644 resources/ui/icons/tsukimi.png -t $out/share/pixmaps
83 description = "Simple third-party Emby client, featured with GTK4-RS, MPV and GStreamer";
84 homepage = "https://github.com/tsukinaha/tsukimi";
85 license = lib.licenses.gpl3Plus;
86 maintainers = with lib.maintainers; [
90 mainProgram = "tsukimi";
91 platforms = lib.platforms.linux;
92 # libmpv2 crate fail to compile
93 # expected raw pointer `*const u8` found raw pointer `*const i8`
94 broken = stdenv.hostPlatform.isAarch64;