blob: 45d9191eea081aa200d10c35f4c8b7508800aed7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ 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"
];
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; [ AndersonTorres ];
platforms = with platforms; linux;
};
}
|