39dd111b44
Build and populate cache / tests (<YOUR_CACHIX_NAME>, nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-25.05.tar.gz, <YOUR_REPO_NAME>) (push) Successful in 3m25s
Build and populate cache / tests (<YOUR_CACHIX_NAME>, nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-unstable.tar.gz, <YOUR_REPO_NAME>) (push) Successful in 2m51s
Build and populate cache / tests (<YOUR_CACHIX_NAME>, nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs-unstable.tar.gz, <YOUR_REPO_NAME>) (push) Successful in 2m56s
55 lines
979 B
Nix
55 lines
979 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, qt6Packages
|
|
, openssl
|
|
, pulseaudio
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "librepods";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kavishdevar";
|
|
repo = "librepods";
|
|
rev = "linux-v${version}";
|
|
hash = "sha256-ZvHbSSW0rfcsNUORZURe0oBHQbnqmS5XT9ffVMwjIMU=";
|
|
};
|
|
|
|
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;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "librepods";
|
|
};
|
|
}
|
|
|
|
|