8 stdenv.mkDerivation (finalAttrs: {
9 pname = "libudev-zero";
12 src = fetchFromGitHub {
14 repo = "libudev-zero";
15 rev = finalAttrs.version;
16 sha256 = "sha256-NXDof1tfr66ywYhCBDlPa+8DUfFj6YH0dvSaxHFqsXI=";
21 "AR=${stdenv.cc.targetPrefix}ar"
24 # Just let the installPhase build stuff, because there's no
25 # non-install target that builds everything anyway.
28 installTargets = lib.optionals stdenv.hostPlatform.isStatic "install-static";
31 pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
35 homepage = "https://github.com/illiliti/libudev-zero";
36 description = "Daemonless replacement for libudev";
37 changelog = "https://github.com/illiliti/libudev-zero/releases/tag/${version}";
38 maintainers = with maintainers; [
42 license = licenses.isc;
43 pkgConfigModules = [ "libudev" ];
44 platforms = platforms.linux;