Add librepods package and update README for usage instructions
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
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
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{ 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";
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user