bbc73fc47e
Build and populate cache / tests (chiasson, nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-25.05.tar.gz, chiasson) (push) Successful in 3m17s
Build and populate cache / tests (chiasson, nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-unstable.tar.gz, chiasson) (push) Successful in 2m41s
Build and populate cache / tests (chiasson, nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs-unstable.tar.gz, chiasson) (push) Successful in 2m45s
56 lines
1.0 KiB
Nix
56 lines
1.0 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, qt6Packages
|
|
, openssl
|
|
, pulseaudio
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "librepods";
|
|
version = "0.2.0-alpha.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kavishdevar";
|
|
repo = "librepods";
|
|
rev = "v${version}";
|
|
hash = "sha256-37dLiXC+eO4f5waLKgMMpHXH1m6W54O/l2axJsnyU5M=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/linux";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
qt6Packages.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
pulseaudio
|
|
|
|
qt6Packages.qtbase
|
|
qt6Packages.qtconnectivity
|
|
qt6Packages.qtdeclarative
|
|
qt6Packages.qtwayland
|
|
qt6Packages.qttools
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
];
|
|
|
|
meta = {
|
|
description = "AirPods liberated from Apple's ecosystem (LibrePods Linux app)";
|
|
homepage = "https://github.com/kavishdevar/librepods";
|
|
license = lib.licenses.gpl3Plus;
|
|
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "librepods";
|
|
};
|
|
}
|
|
|
|
|