Files
nixpkgs/pkgs/by-name/ti/tinyalsa/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
750 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation {
pname = "tinyalsa";
version = "unstable-2022-06-05";
src = fetchFromGitHub {
owner = "tinyalsa";
repo = "tinyalsa";
rev = "3d70d227e7dfd1be6f8f420a5aae164a2b4126e0";
hash = "sha256-RHeF3VShy+LYFtJK+AEU7swIr5/rnpg2fdllnH9cFCk=";
};
nativeBuildInputs = [
cmake
];
cmakeFlags = [
"-DTINYALSA_USES_PLUGINS=ON"
];
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=sign-compare"
];
meta = with lib; {
homepage = "https://github.com/tinyalsa/tinyalsa";
description = "Tiny library to interface with ALSA in the Linux kernel";
license = licenses.mit;
maintainers = [ ];
platforms = with platforms; linux;
};
}