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