mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
60 lines
1.6 KiB
Nix
60 lines
1.6 KiB
Nix
{ lib, stdenv
|
|
, fetchgit
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, dbus
|
|
, sysctl
|
|
, gitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ell";
|
|
version = "0.69";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
separateDebugInfo = true;
|
|
|
|
src = fetchgit {
|
|
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
|
|
rev = version;
|
|
hash = "sha256-FOEVnpndbIufb8i6egBIoG1PC01WxtAlf3I47YqM+hk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoreconfHook
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
dbus
|
|
# required as the sysctl test works on some machines
|
|
sysctl
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# Runs multiple dbus instances on the same port failing the bind.
|
|
enableParallelChecking = false;
|
|
|
|
# tests sporadically fail on musl
|
|
doCheck = !stdenv.hostPlatform.isMusl;
|
|
|
|
passthru = {
|
|
updateScript = gitUpdater {
|
|
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
|
|
};
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|