13 buildDotnetModule rec {
14 pname = "galaxy-buds-client";
17 src = fetchFromGitHub {
19 repo = "GalaxyBudsClient";
21 hash = "sha256-mmhXTtESjc8uNULc9zV2Qy/815BEEL7ybdnjArF2CXY=";
24 projectFile = [ "GalaxyBudsClient/GalaxyBudsClient.csproj" ];
25 nugetDeps = ./deps.nix;
26 dotnetFlags = [ "-p:Runtimeidentifier=linux-x64" ];
33 buildInputs = [ stdenv.cc.cc.lib fontconfig ];
43 mkdir -p $out/share/icons/hicolor/256x256/apps/
44 gm convert $src/GalaxyBudsClient/Resources/icon_white.ico $out/share/icons/hicolor/256x256/apps/${meta.mainProgram}.png
47 desktopItems = makeDesktopItem {
48 name = meta.mainProgram;
49 exec = meta.mainProgram;
50 icon = meta.mainProgram;
51 desktopName = meta.mainProgram;
52 genericName = "Galaxy Buds Client";
53 comment = meta.description;
55 categories = [ "Settings" ];
60 mainProgram = "GalaxyBudsClient";
61 description = "Unofficial Galaxy Buds Manager for Windows and Linux";
62 homepage = "https://github.com/ThePBone/GalaxyBudsClient";
63 license = licenses.gpl3;
64 maintainers = [ maintainers.icy-thought ];
65 platforms = platforms.linux;