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
|
|
|
|
}:
|
2019-03-21 15:53:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ell";
|
2023-05-25 15:59:48 +00:00
|
|
|
version = "0.57";
|
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;
|
2023-05-25 15:59:48 +00:00
|
|
|
sha256 = "sha256-9d9WMCByQ1TKWpzWe5msts1LG+BKKqwCgaMBbD74/+4=";
|
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
|
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
|
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;
|
2021-07-18 19:23:26 +00:00
|
|
|
maintainers = with maintainers; [ mic92 dtzWill maxeaubrey ];
|
2019-03-21 15:53:06 +00:00
|
|
|
};
|
|
|
|
}
|