depot/third_party/nixpkgs/pkgs/os-specific/linux/ell/default.nix
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01:00

45 lines
1.3 KiB
Nix

{ lib, stdenv
, fetchgit
, autoreconfHook
, pkg-config
, dbus
}:
stdenv.mkDerivation rec {
pname = "ell";
version = "0.55";
outputs = [ "out" "dev" ];
src = fetchgit {
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
rev = version;
sha256 = "sha256-vMWs+0iaszq+p55Z9AhqkNHWeOwlgt2iq7uuA8xGjJ4=";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
];
nativeCheckInputs = [
dbus
];
enableParallelBuilding = true;
# tests sporadically fail on musl
doCheck = !stdenv.hostPlatform.isMusl;
meta = with lib; {
homepage = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
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.
'';
changelog = "https://git.kernel.org/pub/scm/libs/ell/ell.git/tree/ChangeLog?h=${version}";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ mic92 dtzWill maxeaubrey ];
};
}