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";
|
2020-11-30 21:08:04 +00:00
|
|
|
version = "0.35";
|
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 {
|
2020-12-27 12:18:05 +00:00
|
|
|
url = "https://git.kernel.org/pub/scm/libs/${pname}/${pname}.git";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "16z7xwlrpx1bsr2y1rgxxxixzwc84cwn2g557iqxhwsxfzy6q3dk";
|
2019-03-21 15:53:06 +00:00
|
|
|
};
|
|
|
|
|
2019-03-24 20:41:04 +00:00
|
|
|
patches = [
|
2020-12-27 12:18:05 +00:00
|
|
|
# Sent upstream in https://lists.01.org/hyperkitty/list/ell@lists.01.org/thread/SQEZAIS2LZXSXGTXOW3GTAM5ZPXRLTN4/
|
|
|
|
./0001-unit-test-dbus-pick-up-dbus-daemon-from-PATH.patch
|
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
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
dbus
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
2019-03-21 15:53:06 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://01.org/ell";
|
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.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl21Plus;
|
2019-03-21 15:53:06 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ mic92 dtzWill ];
|
|
|
|
};
|
|
|
|
}
|