2019-03-24 20:41:04 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchgit
|
|
|
|
, autoreconfHook
|
|
|
|
, pkgconfig
|
|
|
|
, dbus
|
|
|
|
}:
|
2019-03-21 15:53:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ell";
|
2019-10-11 21:25:15 +01:00
|
|
|
version = "0.24";
|
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 {
|
2019-03-24 20:41:04 +00:00
|
|
|
url = "https://git.kernel.org/pub/scm/libs/${pname}/${pname}.git";
|
2019-03-21 15:53:06 +00:00
|
|
|
rev = version;
|
2019-10-11 21:25:15 +01:00
|
|
|
sha256 = "1dspi6ds58dy7g1q3chapxydfiyz8bjjlryq66jvwgpynzp0c1h1";
|
2019-03-21 15:53:06 +00:00
|
|
|
};
|
|
|
|
|
2019-03-24 20:41:04 +00:00
|
|
|
patches = [
|
|
|
|
./fix-dbus-tests.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
dbus
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
2019-03-21 15:53:06 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-03-24 20:41:04 +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 ];
|
|
|
|
};
|
|
|
|
}
|