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-08-13 12:09:57 +00:00
|
|
|
version = "0.21";
|
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-08-13 12:09:57 +00:00
|
|
|
sha256 = "0m7fk2xgzsz7am0wjw98sqa42zpw3cz3hz399niw5rj8dbqh0zpy";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|