blob: 801325f05cbe2f52f1f8e5ef5749f861be3de3fe (
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
|
{
stdenv,
lib,
fetchgit,
wafHook,
python3,
gitMinimal,
pkg-config,
libsndfile,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "leqm-nrt";
version = "0.0.2";
src = fetchgit {
url = "https://git.carlh.net/git/leqm-nrt";
tag = "v${finalAttrs.version}";
hash = "sha256-rynqxvh2FT03Fs5XOV5ZBLzB6lJlop793cMv0FB3s1g=";
};
patches = [
./leqm-nrt-libsndfile-linking.patch
];
nativeBuildInputs = [
wafHook
python3
gitMinimal
pkg-config
];
buildInputs = [
libsndfile
];
__structuredAttrs = true;
strictDeps = true;
meta = {
description = "a non-real-time implementation of Leq(M) measurement";
homepage = "https://git.carlh.net/cgit/leqm-nrt";
downloadPage = "https://git.carlh.net/cgit/leqm-nrt";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ logn ];
};
})
|