1{ lib, stdenv
2, fetchgit
3, autoreconfHook
4, pkg-config
5, dbus
6}:
7
8stdenv.mkDerivation rec {
9 pname = "ell";
10 version = "0.53";
11
12 outputs = [ "out" "dev" ];
13
14 src = fetchgit {
15 url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
16 rev = version;
17 sha256 = "sha256-txtXPWmLfZLBsK3s94W5LyA81mTHStpP3nkq6KW33Mk=";
18 };
19
20 nativeBuildInputs = [
21 pkg-config
22 autoreconfHook
23 ];
24
25 checkInputs = [
26 dbus
27 ];
28
29 enableParallelBuilding = true;
30
31 doCheck = true;
32
33 meta = with lib; {
34 homepage = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
35 description = "Embedded Linux Library";
36 longDescription = ''
37 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.
38 '';
39 changelog = "https://git.kernel.org/pub/scm/libs/ell/ell.git/tree/ChangeLog?h=${version}";
40 license = licenses.lgpl21Plus;
41 platforms = platforms.linux;
42 maintainers = with maintainers; [ mic92 dtzWill maxeaubrey ];
43 };
44}