From 5829878640f2918caf04eceec5ad97a00d51bc3c Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 25 Jan 2026 15:15:23 +0530 Subject: [PATCH] librepods: init at 0.1.0-unstable-2025-12-07 --- pkgs/by-name/li/librepods/package.nix | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pkgs/by-name/li/librepods/package.nix diff --git a/pkgs/by-name/li/librepods/package.nix b/pkgs/by-name/li/librepods/package.nix new file mode 100644 index 000000000000..796991baf99a --- /dev/null +++ b/pkgs/by-name/li/librepods/package.nix @@ -0,0 +1,46 @@ +{ + stdenv, + fetchFromGitHub, + libpulseaudio, + openssl, + qt6, + cmake, + pkg-config, + lib, +}: + +stdenv.mkDerivation { + pname = "librepods"; + version = "0.1.0-unstable-2025-12-07"; + + src = fetchFromGitHub { + owner = "kavishdevar"; + repo = "librepods"; + rev = "0e1f784737122913c21b429810d059aadfb4479e"; + hash = "sha256-nXEMIyQWEDMjyKGPAleqqSttznNmrdSHKT4Kr2tLHBY="; + }; + + sourceRoot = "source/linux"; + + buildInputs = [ + libpulseaudio + openssl + qt6.qtbase + qt6.qtconnectivity + qt6.qtquick3d + qt6.qttools + ]; + + nativeBuildInputs = [ + cmake + pkg-config + qt6.wrapQtAppsHook + ]; + + meta = { + homepage = "https://github.com/kavishdevar/librepods"; + description = "AirPods liberated from Apple's ecosystem"; + license = lib.licenses.gpl3; + maintainers = [ lib.maintainers.thefossguy ]; + }; +}