mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #538598
54 lines
940 B
Nix
54 lines
940 B
Nix
{
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libpulseaudio,
|
|
openssl,
|
|
qt6,
|
|
cmake,
|
|
pkg-config,
|
|
lib,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "librepods";
|
|
version = "0.2.5";
|
|
|
|
__structuredAttrs = true;
|
|
strictDeps = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "librepods-org";
|
|
repo = "librepods";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-6l1WjwjDbv5e3tDaWo9+XSEjr9ge/hKysIkeUqyiO4U=";
|
|
};
|
|
|
|
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/librepods-org/librepods";
|
|
description = "AirPods liberated from Apple's ecosystem";
|
|
license = lib.licenses.gpl3;
|
|
mainProgram = "librepods";
|
|
maintainers = with lib.maintainers; [
|
|
thefossguy
|
|
Cameo007
|
|
];
|
|
};
|
|
})
|