2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-03-24 20:41:04 +00:00
|
|
|
, fetchgit
|
|
|
|
, autoreconfHook
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-03-24 20:41:04 +00:00
|
|
|
, dbus
|
2023-09-03 14:44:44 +00:00
|
|
|
, sysctl
|
2023-10-13 10:05:48 +00:00
|
|
|
, gitUpdater
|
2019-03-24 20:41:04 +00:00
|
|
|
}:
|
2019-03-21 15:53:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ell";
|
2024-03-30 17:38:13 +00:00
|
|
|
version = "0.64";
|
2019-03-21 15:53:06 +00:00
|
|
|
|
2019-03-24 20:41:04 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2019-03-21 15:53:06 +00:00
|
|
|
src = fetchgit {
|
2021-11-08 13:28:51 +00:00
|
|
|
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
|
2020-12-27 12:18:05 +00:00
|
|
|
rev = version;
|
2024-03-30 17:38:13 +00:00
|
|
|
hash = "sha256-LONfgFgPg8KCDwtw//WTOYQT9RpnIskdHAWcgafOhcg=";
|
2019-03-21 15:53:06 +00:00
|
|
|
};
|
|
|
|
|
2019-03-24 20:41:04 +00:00
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-03-24 20:41:04 +00:00
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2019-03-24 20:41:04 +00:00
|
|
|
dbus
|
2023-09-03 14:44:44 +00:00
|
|
|
# required as the sysctl test works on some machines
|
|
|
|
sysctl
|
2019-03-24 20:41:04 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2023-02-19 12:39:59 +00:00
|
|
|
# tests sporadically fail on musl
|
|
|
|
doCheck = !stdenv.hostPlatform.isMusl;
|
2019-03-21 15:53:06 +00:00
|
|
|
|
2023-10-13 10:05:48 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gitUpdater {
|
|
|
|
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2022-04-23 09:36:48 +00:00
|
|
|
homepage = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
|
2019-03-21 15:53:06 +00:00
|
|
|
description = "Embedded Linux Library";
|
2019-03-24 20:41:04 +00:00
|
|
|
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.
|
|
|
|
'';
|
2022-04-23 09:36:48 +00:00
|
|
|
changelog = "https://git.kernel.org/pub/scm/libs/ell/ell.git/tree/ChangeLog?h=${version}";
|
2019-03-24 20:41:04 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2019-03-21 15:53:06 +00:00
|
|
|
platforms = platforms.linux;
|
2023-09-12 15:21:05 +00:00
|
|
|
maintainers = with maintainers; [ mic92 dtzWill amaxine ];
|
2019-03-21 15:53:06 +00:00
|
|
|
};
|
|
|
|
}
|