tinyalsa: init at 2.0.0
This commit is contained in:
parent
9877c29734
commit
6e73e6e668
37
pkgs/os-specific/linux/tinyalsa/default.nix
Normal file
37
pkgs/os-specific/linux/tinyalsa/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tinyalsa";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tinyalsa";
|
||||
repo = "tinyalsa";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WFJbew6ApB9InKN1SyRkbVoFlBCFm5uYzazdtsaHM90=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DTINYALSA_USES_PLUGINS=ON"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = toString [
|
||||
"-Wno-error=stringop-truncation"
|
||||
];
|
||||
|
||||
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; [ AndersonTorres ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
@ -22916,6 +22916,8 @@ with pkgs;
|
||||
|
||||
alertmanager-irc-relay = callPackage ../servers/monitoring/alertmanager-irc-relay { };
|
||||
|
||||
tinyalsa = callPackage ../os-specific/linux/tinyalsa { };
|
||||
|
||||
alsa-firmware = callPackage ../os-specific/linux/alsa-project/alsa-firmware { };
|
||||
alsa-lib = callPackage ../os-specific/linux/alsa-project/alsa-lib { };
|
||||
alsa-oss = callPackage ../os-specific/linux/alsa-project/alsa-oss { };
|
||||
|
Loading…
Reference in New Issue
Block a user