2024-06-30 08:16:52 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchgit,
|
|
|
|
autoreconfHook,
|
|
|
|
pkg-config,
|
|
|
|
dbus,
|
|
|
|
sysctl,
|
|
|
|
gitUpdater,
|
2024-05-02 00:46:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ell";
|
|
|
|
version = "0.64";
|
|
|
|
|
2024-06-30 08:16:52 +00:00
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
];
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-LONfgFgPg8KCDwtw//WTOYQT9RpnIskdHAWcgafOhcg=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
dbus
|
|
|
|
# required as the sysctl test works on some machines
|
|
|
|
sysctl
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
# tests sporadically fail on musl
|
|
|
|
doCheck = !stdenv.hostPlatform.isMusl;
|
|
|
|
|
|
|
|
passthru = {
|
2024-06-30 08:16:52 +00:00
|
|
|
updateScript = gitUpdater { url = "https://git.kernel.org/pub/scm/libs/ell/ell.git"; };
|
2024-05-02 00:46:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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=${version}";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
2024-06-30 08:16:52 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
mic92
|
|
|
|
dtzWill
|
|
|
|
];
|
2024-05-02 00:46:19 +00:00
|
|
|
};
|
|
|
|
}
|