upd
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
expat,
|
||||
fontconfig,
|
||||
freetype,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
namespace,
|
||||
system,
|
||||
pkgs,
|
||||
@@ -41,6 +43,7 @@ rustPlatform.buildRustPackage rec {
|
||||
libpulseaudio
|
||||
autoPatchelfHook
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -61,10 +64,25 @@ rustPlatform.buildRustPackage rec {
|
||||
libxkbcommon
|
||||
];
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "librepods";
|
||||
desktopName = "LibrePODS";
|
||||
comment = "Open source alternative for AirPods";
|
||||
exec = "librepods";
|
||||
icon = "librepods";
|
||||
terminal = false;
|
||||
categories = [
|
||||
"Audio"
|
||||
"Utility"
|
||||
];
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/librepods --suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs}
|
||||
'';
|
||||
|
||||
passthru.imaging = desktopItem;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source alternative for AirPods";
|
||||
homepage = "https://github.com/kavishdevar/librepods";
|
||||
|
||||
Reference in New Issue
Block a user