11 stdenv.mkDerivation (finalAttrs: {
15 src = fetchFromGitHub {
16 owner = "eudev-project";
18 rev = "v${finalAttrs.version}";
19 hash = "sha256-v/szzqrBedQPRGYkZ0lV9rslCH//uqGp4PHEF0/51Lg=";
34 "--localstatedir=/var"
39 "hwdb_bin=/var/lib/udev/hwdb.bin"
40 "udevrulesdir=/etc/udev/rules.d"
44 # Disable install-exec-hook target, as it conflicts with our move-sbin
47 sed -i 's;$(MAKE) $(AM_MAKEFLAGS) install-exec-hook;$(MAKE) $(AM_MAKEFLAGS);g' src/udev/Makefile
51 "localstatedir=$(TMPDIR)/var"
52 "sysconfdir=$(out)/etc"
53 "udevconfdir=$(out)/etc/udev"
54 "udevhwdbbin=$(out)/var/lib/udev/hwdb.bin"
55 "udevhwdbdir=$(out)/var/lib/udev/hwdb.d"
56 "udevrulesdir=$(out)/var/lib/udev/rules.d"
60 homepage = "https://github.com/eudev-project/eudev";
61 description = "Fork of udev with the aim of isolating it from init";
63 eudev is a standalone dynamic and persistent device naming support (aka
64 userspace devfs) daemon that runs independently from the init
65 system. eudev strives to remain init system and linux distribution
66 neutral. It is currently used as the devfs manager for more than a dozen
67 different linux distributions.
69 This git repo is a fork of systemd repository with the aim of isolating
70 udev from any particular flavor of system initialization. In this case,
71 the isolation is from systemd.
73 This is a project started by Gentoo developers and testing was initially
74 being done mostly on OpenRC. We welcome contribution from others using a
75 variety of system initializations to ensure eudev remains system
76 initialization and distribution neutral. On 2021-08-20 Gentoo decided to
77 abandon eudev and a new project was established on 2021-09-14 by Alpine,
78 Devuan and Gentoo contributors.
80 changelog = "https://github.com/eudev-project/eudev/releases/tag/${finalAttrs.src.rev}";
81 license = lib.licenses.gpl2Plus;
82 maintainers = with lib.maintainers; [ raskin AndersonTorres ];
83 inherit (kmod.meta) platforms;