4f7f9701ae
Also add multiple outputs and some other details
48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{ stdenv
|
|
, fetchgit
|
|
, autoreconfHook
|
|
, pkgconfig
|
|
, dbus
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ell";
|
|
version = "0.20";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchgit {
|
|
url = "https://git.kernel.org/pub/scm/libs/${pname}/${pname}.git";
|
|
rev = version;
|
|
sha256 = "1g143dbc7cfks63k9yi2m8hpgfp9jj5b56s3hyxjzxm9dac3yn6c";
|
|
};
|
|
|
|
patches = [
|
|
./fix-dbus-tests.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
autoreconfHook
|
|
];
|
|
|
|
checkInputs = [
|
|
dbus
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://01.org/ell;
|
|
description = "Embedded Linux Library";
|
|
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;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ mic92 dtzWill ];
|
|
};
|
|
}
|