Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.

Commit 01a211c

Browse files
committed
fix: rename to uchar
1 parent 15d4e93 commit 01a211c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

nix/default.nix

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let
1414

1515
};
1616
in flutter338.buildFlutterApplication (rec {
17-
pname = "fluffychat-${targetFlutterPlatform}";
17+
pname = "uchar-${targetFlutterPlatform}";
1818
version = "2.4.1";
1919

2020
src = ../.;
@@ -36,12 +36,12 @@ in flutter338.buildFlutterApplication (rec {
3636

3737
meta = {
3838
description = "Chat with your friends (matrix client)";
39-
homepage = "https://fluffychat.im/";
39+
homepage = "https://uchar.im/";
4040
license = lib.licenses.agpl3Plus;
4141
maintainers = with lib.maintainers; [ mkg20001 tebriel aleksana ];
4242
badPlatforms = lib.platforms.darwin;
4343
} // lib.optionalAttrs (targetFlutterPlatform == "linux") {
44-
mainProgram = "fluffychat";
44+
mainProgram = "uchar";
4545
};
4646
} // lib.optionalAttrs (targetFlutterPlatform == "linux") {
4747
nativeBuildInputs = [ imagemagick copyDesktopItems webkitgtk_4_1 ];
@@ -52,10 +52,10 @@ in flutter338.buildFlutterApplication (rec {
5252

5353
desktopItems = [
5454
(makeDesktopItem {
55-
name = "Fluffychat";
56-
exec = "fluffychat";
57-
icon = "fluffychat";
58-
desktopName = "Fluffychat";
55+
name = "uchar";
56+
exec = "uchar";
57+
icon = "uchar";
58+
desktopName = "uchar";
5959
genericName = "Chat with your friends (matrix client)";
6060
categories = [ "Chat" "Network" "InstantMessaging" ];
6161
})
@@ -95,16 +95,16 @@ in flutter338.buildFlutterApplication (rec {
9595
'';
9696

9797
postInstall = ''
98-
FAV=$out/app/fluffychat-linux/data/flutter_assets/assets/favicon.png
98+
FAV=$out/app/uchar-linux/data/flutter_assets/assets/favicon.png
9999
ICO=$out/share/icons
100100
101101
for size in 24 32 42 64 128 256 512; do
102102
D=$ICO/hicolor/''${size}x''${size}/apps
103103
mkdir -p $D
104-
magick $FAV -resize ''${size}x''${size} $D/fluffychat.png
104+
magick $FAV -resize ''${size}x''${size} $D/uchar.png
105105
done
106106
107-
patchelf --add-rpath ${libwebrtcRpath} $out/app/fluffychat-linux/lib/libwebrtc.so
107+
patchelf --add-rpath ${libwebrtcRpath} $out/app/uchar-linux/lib/libwebrtc.so
108108
'';
109109
} // lib.optionalAttrs (targetFlutterPlatform == "web") {
110110
preBuild = ''

0 commit comments

Comments
 (0)