blob: a99dcc2abdadd9f9f4c582cea834d20891787d7c (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
{
lib,
stdenv,
fetchgit,
autoreconfHook,
pkg-config,
dbus,
sysctl,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ell";
version = "0.83";
outputs = [
"out"
"dev"
];
separateDebugInfo = true;
src = fetchgit {
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
rev = finalAttrs.version;
hash = "sha256-RhT36DWIdEpe6WmA7spBt/0peBj4cpy1Qe64/SRBmPs=";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
];
nativeCheckInputs = [
dbus
# required as the sysctl test works on some machines
sysctl
];
enableParallelBuilding = true;
# Runs multiple dbus instances on the same port failing the bind.
enableParallelChecking = false;
# 'unit/test-hwdb' fails in the sandbox as it relies on
# '/etc/udev/hwdb.bin' file presence in the sandbox. `nixpkgs` does
# not provide it today in any form. Let's skip the test.
env.XFAIL_TESTS = "unit/test-hwdb";
# tests sporadically fail on musl
doCheck = !stdenv.hostPlatform.isMusl;
passthru = {
updateScript = gitUpdater {
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
};
};
meta = {
homepage = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
description = "Embedded Linux Library";
longDescription = ''
The Embedded Linux* Library (ELL) provides core, low-level functionality for system daemons. It typically has no dependencies other than the Linux kernel, C standard library, and libdl (for dynamic linking). While ELL is designed to be efficient and compact enough for use on embedded Linux platforms, it is not limited to resource-constrained systems.
'';
changelog = "https://git.kernel.org/pub/scm/libs/ell/ell.git/tree/ChangeLog?h=${finalAttrs.version}";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
mic92
];
};
})
|