mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
9a56705f94
As a short note, I am relinquishing the maintenance of many packages, because it is too much to me to handle right now.
38 lines
766 B
Nix
38 lines
766 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
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 = with maintainers; [ ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|