blob: de827704e4c83d8f623f449e935ba26ab3239088 (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
lib,
stdenv,
testers,
unstableGitUpdater,
fetchFromGitHub,
meson,
ninja,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tinyalsa";
version = "2.0.0-unstable-2026-07-27";
src = fetchFromGitHub {
owner = "tinyalsa";
repo = "tinyalsa";
rev = "9fab97ca07184371ecad81154d1dadb09d0fa7cf";
hash = "sha256-+/wz0pwyF1kulUA5kjFGVOwbSkunEU+WzsZf/UsCEVk=";
};
separateDebugInfo = true;
strictDeps = true;
__structuredAttrs = true;
outputs = [
"out"
"dev"
"bin"
];
nativeBuildInputs = [
meson
ninja
];
passthru = {
updateScript = unstableGitUpdater {
tagPrefix = "v";
};
tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
versionCheck = false;
};
};
meta = {
homepage = "https://github.com/tinyalsa/tinyalsa";
description = "Tiny library to interface with ALSA in the Linux kernel";
license = lib.licenses.mit;
pkgConfigModules = [ "tinyalsa" ];
maintainers = with lib.maintainers; [ tmarkus ];
platforms = with lib.platforms; linux;
};
})
|