mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
commit
e1471f6c3d
@ -3,20 +3,20 @@
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, dbus
|
||||
, fetchpatch
|
||||
, sysctl
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ell";
|
||||
version = "0.58";
|
||||
version = "0.59";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.kernel.org/pub/scm/libs/ell/ell.git";
|
||||
rev = version;
|
||||
hash = "sha256-CwUwwvyT541aIvypVMqRhHkVJLna121Cme+v7c0FLWo=";
|
||||
hash = "sha256-uJcGYT+JSdz/XTyJb/VUyedmSKJW/4BbTM3fw3ebtIc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -30,19 +30,17 @@ stdenv.mkDerivation rec {
|
||||
sysctl
|
||||
];
|
||||
|
||||
patches = [
|
||||
# /proc/sys/net/core/somaxconn doesn't always exist in the nix build environment
|
||||
(fetchpatch {
|
||||
name = "skip-sysctl-test-if-sysfs-not-available.patch";
|
||||
url = "https://patchwork.kernel.org/project/ell/patch/526DA75D-01AB-4D85-BF5C-5F25E5C39480@kloenk.dev/raw/";
|
||||
hash = "sha256-YYGYWQ67cbMLt6RnqZmHt+tpvVIDKPbSCqPIouk6alU=";
|
||||
})
|
||||
];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# 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";
|
||||
|
Loading…
Reference in New Issue
Block a user