treewide: add udevCheckHook (#409564)

This commit is contained in:
K900
2025-05-28 12:09:04 +03:00
committed by GitHub
242 changed files with 996 additions and 69 deletions
@@ -20,6 +20,7 @@
gnupg,
libusb1,
pcsclite,
udevCheckHook,
}:
let
@@ -221,6 +222,7 @@ stdenvNoCC.mkDerivation rec {
nativeBuildInputs = [
makeWrapper
copyDesktopItems
udevCheckHook
];
desktopItems = [
@@ -277,6 +279,8 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
doInstallCheck = true;
meta = with lib; {
description = "Modern desktop Bitcoin wallet application supporting most hardware wallets and built on common standards such as PSBT, with an emphasis on transparency and usability";
homepage = "https://sparrowwallet.com";
@@ -10,6 +10,7 @@
nasm,
pkg-config,
zlib,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -26,6 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
nasm
pkg-config
udevCheckHook
];
buildInputs = [
@@ -56,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
install -Dm644 icons/64x64x32.png $out/share/icons/hicolor/64x64/apps/zsnes.png
'';
doInstallCheck = true;
meta = {
homepage = "https://github.com/xyproto/zsnes";
description = "Maintained fork of zsnes";
@@ -2,8 +2,8 @@
fetchFromGitHub,
lib,
gettext,
pkgs,
python3,
udevCheckHook,
umockdev,
writeScript,
}:
@@ -54,6 +54,7 @@ python3.pkgs.buildPythonApplication rec {
nativeCheckInputs = [
python3.pkgs.pytestCheckHook
udevCheckHook
umockdev
];
@@ -62,6 +63,7 @@ python3.pkgs.buildPythonApplication rec {
];
doCheck = true;
doInstallCheck = true;
installPhase = ''
runHook preInstall
@@ -175,6 +175,8 @@ stdenv.mkDerivation rec {
# https://github.com/NixOS/nixpkgs/issues/224569
enableParallelInstalling = false;
doInstallCheck = true;
passthru.tests = {
inherit (nixosTests) sane;
};
@@ -17,11 +17,12 @@
qtwebsockets,
qtmultimedia,
udevRule51 ? ''
, SUBSYSTEM=="usb", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="dbb%n", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402"
, '',
SUBSYSTEM=="usb", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="dbb%n", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402"
'',
udevRule52 ? ''
, KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="dbbf%n"
, '',
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="dbbf%n"
'',
udevCheckHook,
writeText,
}:
@@ -66,6 +67,7 @@ mkDerivation rec {
makeWrapper
pkg-config
qttools
udevCheckHook
];
buildInputs = [
@@ -121,6 +123,8 @@ mkDerivation rec {
enableParallelBuilding = true;
doInstallCheck = true;
meta = with lib; {
description = "QT based application for the Digital Bitbox hardware wallet";
longDescription = ''
@@ -37,6 +37,8 @@ mkDerivation rec {
qtwebsockets
];
doInstallCheck = true;
preConfigure = "mkdir -p build && cd build";
qmakeFlags = [ "../Moolticute.pro" ];
@@ -49,7 +49,11 @@ mkDerivation rec {
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/openambit --version
runHook postInstallCheck
'';
postInstall = ''
@@ -12,6 +12,7 @@
gtest,
dfu-util,
avrdude,
udevCheckHook,
}:
mkDerivation rec {
@@ -30,6 +31,7 @@ mkDerivation rec {
gcc-arm-embedded
python3Packages.pillow
qttools
udevCheckHook
];
buildInputs = [
@@ -54,6 +56,8 @@ mkDerivation rec {
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];
doInstallCheck = true;
meta = with lib; {
description = "OpenTX Companion transmitter support software";
longDescription = ''
@@ -38,6 +38,7 @@
ctestCheckHook,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
systemd,
udevCheckHook,
wxGTK-override ? null,
opencascade-override ? null,
}:
@@ -96,6 +97,7 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
wrapGAppsHook3
wxGTK-override'
udevCheckHook
];
buildInputs =
@@ -138,6 +140,8 @@ stdenv.mkDerivation (finalAttrs: {
separateDebugInfo = true;
doInstallCheck = true;
# The build system uses custom logic - defined in
# cmake/modules/FindNLopt.cmake in the package source - for finding the nlopt
# library, which doesn't pick up the package in the nix store. We
@@ -14,6 +14,7 @@
libusb-compat-0_1,
libsndfile,
libmad,
udevCheckHook,
}:
mkDerivation rec {
@@ -30,6 +31,7 @@ mkDerivation rec {
nativeBuildInputs = [
qmake
pkg-config
udevCheckHook
];
buildInputs = [
udev
@@ -60,6 +62,8 @@ mkDerivation rec {
enableParallelBuilding = true;
doInstallCheck = true;
postInstall = ''
ln -sf $out/lib/*/libqlcplus* $out/lib
'';
+7 -1
View File
@@ -13,6 +13,7 @@
python3,
espeak,
udev,
udevCheckHook,
extraScripts ? false,
}:
@@ -27,7 +28,10 @@ stdenv.mkDerivation rec {
hash = "sha256-Vbxc6a6CK+wrBfs15dtjfRa1LJDKKyHMrg8tqsF7EX4=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [
cmake
udevCheckHook
];
strictDeps = true;
@@ -71,6 +75,8 @@ stdenv.mkDerivation rec {
--replace espeak ${espeak}/bin/espeak
'';
doInstallCheck = true;
meta = with lib; {
description = "Soundcard Packet TNC, APRS Digipeater, IGate, APRStt gateway";
homepage = "https://github.com/wb2osz/direwolf/";
@@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
wxGTK32
];
doInstallCheck = true;
postInstall = ''
install -Dm444 -t $out/lib/udev/rules.d ../udev-rules/64-limesuite.rules
install -Dm444 -t $out/share/limesuite bin/Release/lms7suite_mcu/*
+2
View File
@@ -62,6 +62,8 @@ stdenv.mkDerivation rec {
cp ${src}/dist/99-qdmr.rules $out/etc/udev/rules.d/
'';
doInstallCheck = true;
meta = {
description = "GUI application and command line tool for programming DMR radios";
homepage = "https://dm3mat.darc.de/qdmr/";
@@ -28,6 +28,8 @@ let
"-DWITH_RPC=ON"
];
doInstallCheck = true;
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace '/etc/udev/rules.d' "$out/etc/udev/rules.d" \
@@ -52,6 +52,8 @@ stdenv.mkDerivation (finalAttrs: {
python3
] ++ lib.optional stdenv.hostPlatform.isLinux qtwayland;
doInstallCheck = true;
meta = {
description = "GUI program for supporting various instruments from DreamSourceLab, including logic analyzer, oscilloscope, etc";
mainProgram = "DSView";
@@ -7,6 +7,7 @@
bison,
flex,
automake,
udevCheckHook,
}:
stdenv.mkDerivation (
@@ -22,11 +23,14 @@ stdenv.mkDerivation (
bison
flex
automake
udevCheckHook
];
configureFlags = [
"--sysconfdir=$(out)/etc"
"--prefix=$(out)"
];
doInstallCheck = true;
}
)
@@ -41,6 +41,8 @@ mkDerivation rec {
sed -i 's#/usr/share#share#g' CMakeLists.txt
'';
doInstallCheck = true;
meta = with lib; {
description = "Free software for Hantek and compatible (Voltcraft/Darkwire/Protek/Acetech) USB digital signal oscilloscopes";
mainProgram = "OpenHantek";
+6
View File
@@ -4,6 +4,7 @@
fetchgit,
python3,
coreutils,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -31,6 +32,11 @@ stdenv.mkDerivation rec {
makeFlags = [ "DESTDIR=$(out) prefix=" ];
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
meta = with lib; {
homepage = "https://gitlab.com/wavexx/acpilight";
description = "ACPI backlight control";
+2
View File
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
cmake
pkg-config
];
doInstallCheck = true;
buildInputs = [ libusb1 ];
cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [ "-DINSTALL_UDEV_RULES=ON" ];
+6
View File
@@ -67,6 +67,12 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/aplay --set-default ALSA_PLUGIN_DIR ${plugin-dir}
'';
postInstall = ''
# udev rules are super broken, violating `udevadm verify` in various creative ways.
# NixOS has its own set of alsa udev rules, we can just delete the udev rules for this package
rm -rf $out/lib/udev
'';
passthru.updateScript = directoryListingUpdater {
url = "https://www.alsa-project.org/files/pub/utils/";
};
@@ -12,6 +12,7 @@
makeWrapper,
nix-update-script,
systemd,
udevCheckHook,
util-linux,
}:
@@ -31,6 +32,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
installShellFiles
makeWrapper
udevCheckHook
];
buildInputs = [
@@ -101,6 +103,8 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
doInstallCheck = true;
outputs = [
"out"
"man"
@@ -12,6 +12,7 @@
nix-update-script,
python3,
stdenv,
udevCheckHook,
util-linux,
}:
@@ -31,6 +32,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
installShellFiles
makeWrapper
udevCheckHook
];
buildInputs = [
@@ -92,7 +94,11 @@ stdenv.mkDerivation rec {
# We can't run `ec2-metadata` since it calls IMDS even with `--help`.
installCheckPhase = ''
runHook preInstallCheck
$out/bin/ebsnvme-id --help
runHook postInstallCheck
'';
passthru = {
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
udevCheckHook,
}:
## Usage
@@ -25,6 +26,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
meta = with lib; {
homepage = "https://github.com/M0Rf30/android-udev-rules";
description = "Android udev rules list aimed to be the most comprehensive on the net";
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchFromGitHub,
udevCheckHook,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
@@ -17,6 +18,12 @@ stdenvNoCC.mkDerivation (finalAttrs: {
dontBuild = true;
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
# 80-* renamed to 70-* for uaccess TAG
installPhase = ''
runHook preInstall
+4
View File
@@ -20,6 +20,7 @@
openssl,
buildPackages,
replaceVars,
udevCheckHook,
writeScript,
}:
@@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
jam
udevCheckHook
unzip
];
@@ -164,6 +166,8 @@ stdenv.mkDerivation rec {
'';
doInstallCheck = true;
passthru = {
updateScript = writeScript "update-argyllcms" ''
#!/usr/bin/env nix-shell
+4
View File
@@ -5,6 +5,7 @@
rustPlatform,
pkg-config,
udev,
udevCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -23,6 +24,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [
pkg-config
udevCheckHook
];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
@@ -35,6 +37,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
$out/lib/udev/rules.d/20-asd-backlight.rules
'';
doInstallCheck = true;
meta = {
description = "Apple Studio Display brightness controll";
mainProgram = "asdbctl";
+3
View File
@@ -14,6 +14,7 @@
seatd,
wayland,
glibc,
udevCheckHook,
}:
rustPlatform.buildRustPackage rec {
pname = "asusctl";
@@ -61,6 +62,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
udevCheckHook
];
buildInputs = [
@@ -85,6 +87,7 @@ rustPlatform.buildRustPackage rec {
# upstream has minimal tests, so don't rebuild twice
doCheck = false;
doInstallCheck = true;
postInstall = ''
make prefix=$out install-data
+2
View File
@@ -6,6 +6,7 @@
xrandr,
installShellFiles,
desktop-file-utils,
udevCheckHook,
}:
python3.pkgs.buildPythonApplication rec {
@@ -23,6 +24,7 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = [
installShellFiles
desktop-file-utils
udevCheckHook
];
propagatedBuildInputs = with python3.pkgs; [ packaging ];
+7 -1
View File
@@ -6,6 +6,7 @@
util-linux,
bash,
replaceVars,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -19,9 +20,14 @@ stdenv.mkDerivation rec {
hash = "sha256-6gy0ymecMgEHXbwp/nXHlrUEeDFnmFXWZZPlzP292g4=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
udevCheckHook
];
buildInputs = [ util-linux ];
doInstallCheck = true;
# * Remove broken install rules (they ignore $PREFIX) for stuff we don't need
# anyway (it's distro specific stuff).
# * Fixup absolute path to modprobe.
@@ -24,6 +24,7 @@
nixosTests,
installShellFiles,
fuseSupport ? false,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -45,6 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
rustPlatform.bindgenHook
makeWrapper
installShellFiles
udevCheckHook
];
buildInputs = [
@@ -84,6 +86,8 @@ stdenv.mkDerivation (finalAttrs: {
# FIXME: Try enabling this once the default linux kernel is at least 6.7
doCheck = false; # needs bcachefs module loaded on builder
doInstallCheck = true;
postPatch = ''
substituteInPlace Makefile \
--replace-fail "target/release/bcachefs" "target/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/bcachefs"
@@ -7,6 +7,7 @@
libudev-zero,
nixosTests,
nix-update-script,
udevCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -30,6 +31,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [
pkg-config
udevCheckHook
];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
@@ -43,6 +45,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
install -Dm644 bitbox-bridge/release/linux/hid-digitalbitbox.rules $out/etc/udev/rules.d/50-hid-digitalbitbox.rules
'';
doInstallCheck = true;
passthru = {
tests.basic = nixosTests.bitbox-bridge;
updateScript = nix-update-script { };
+4
View File
@@ -6,6 +6,7 @@
clang,
go,
libsForQt5,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -76,8 +77,11 @@ stdenv.mkDerivation rec {
clang
go
libsForQt5.wrapQtAppsHook
udevCheckHook
];
doInstallCheck = true;
meta = {
description = "Companion app for the BitBox02 hardware wallet";
homepage = "https://bitbox.swiss/app/";
+3
View File
@@ -23,6 +23,7 @@
lib.meta.availableOn stdenv.hostPlatform gobject-introspection
&& stdenv.hostPlatform.emulatorAvailable buildPackages,
gitUpdater,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -51,6 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
python3Packages.pygments
python3Packages.wrapPython
udevCheckHook
];
outputs = [
@@ -121,6 +123,7 @@ stdenv.mkDerivation (finalAttrs: {
];
doCheck = stdenv.hostPlatform.isx86_64;
doInstallCheck = true;
postInstall =
let
+2
View File
@@ -4,6 +4,7 @@
fetchFromGitHub,
rustPlatform,
versionCheckHook,
udevCheckHook,
}:
rustPlatform.buildRustPackage rec {
pname = "bmputil";
@@ -24,6 +25,7 @@ rustPlatform.buildRustPackage rec {
'';
nativeInstallCheckInputs = [ versionCheckHook ];
nativeBuildInputs = [ udevCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
+4
View File
@@ -18,6 +18,7 @@
glib,
systemd,
polkit,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -56,6 +57,7 @@ stdenv.mkDerivation rec {
ninja
pkg-config
glib
udevCheckHook
];
buildInputs = [
@@ -86,6 +88,8 @@ stdenv.mkDerivation rec {
"-Dlocalstatedir=/var"
];
doInstallCheck = true;
PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev";
+2
View File
@@ -9,6 +9,7 @@
copyDesktopItems,
makeDesktopItem,
nix-update-script,
udevCheckHook,
}:
python3Packages.buildPythonPackage rec {
@@ -41,6 +42,7 @@ python3Packages.buildPythonPackage rec {
copyDesktopItems
wrapGAppsHook4
gobject-introspection
udevCheckHook
];
postPatch = ''
+7 -1
View File
@@ -5,6 +5,7 @@
pkg-config,
systemd,
coreutils,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -37,9 +38,14 @@ stdenv.mkDerivation rec {
"install_udev_rules"
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
udevCheckHook
];
buildInputs = [ systemd ];
doInstallCheck = true;
meta = with lib; {
homepage = "https://github.com/Hummer12007/brightnessctl";
description = "This program allows you read and control device brightness";
+7 -1
View File
@@ -5,6 +5,7 @@
go-md2man,
coreutils,
replaceVars,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -26,13 +27,18 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ go-md2man ];
nativeBuildInputs = [
go-md2man
udevCheckHook
];
makeFlags = [
"PREFIX=$(out)"
"AADIR=$(out)/etc/apparmor.d"
];
doInstallCheck = true;
installTargets = [ "install-dist" ];
meta = with lib; {
+4
View File
@@ -16,6 +16,7 @@
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd,
systemd,
ncurses,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -32,6 +33,7 @@ stdenv.mkDerivation rec {
python3.pkgs.cython
python3.pkgs.setuptools
tcl
udevCheckHook
];
buildInputs =
[
@@ -41,6 +43,8 @@ stdenv.mkDerivation rec {
++ lib.optional alsaSupport alsa-lib
++ lib.optional systemdSupport systemd;
doInstallCheck = true;
meta = {
description = "Access software for a blind person using a braille display";
longDescription = ''
+6
View File
@@ -16,6 +16,7 @@
btrfs-progs,
gitUpdater,
udevSupport ? true,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -31,6 +32,9 @@ stdenv.mkDerivation rec {
[
pkg-config
]
++ lib.optionals udevSupport [
udevCheckHook
]
++ [
(buildPackages.python3.withPackages (
ps: with ps; [
@@ -75,6 +79,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
doInstallCheck = true;
passthru.tests = {
simple-filesystem = runCommand "btrfs-progs-create-fs" { } ''
mkdir -p $out
+11 -4
View File
@@ -19,6 +19,7 @@
udevSupport ? true,
glibcLocales,
rsync,
udevCheckHook,
}:
stdenv.mkDerivation {
@@ -49,10 +50,14 @@ stdenv.mkDerivation {
python3
sphinx
];
nativeCheckInputs = [
glibcLocales
rsync
];
nativeCheckInputs =
[
glibcLocales
rsync
]
++ lib.optionals udevSupport [
udevCheckHook
];
postPatch = ''
for f in test/test-*.sh.in; do
@@ -72,6 +77,8 @@ stdenv.mkDerivation {
export LC_ALL="en_US.utf-8"
'';
doInstallCheck = true;
meta = with lib; {
description = "Content-Addressable Data Synchronizer";
mainProgram = "casync";
+2
View File
@@ -33,6 +33,8 @@ stdenv.mkDerivation {
--replace 'MODE="0666"' 'MODE="0660", GROUP="plugdev", TAG+="uaccess"'
'';
doInstallCheck = true;
postInstall = ''
install -D udev/90-cc-debugger.rules $out/lib/udev/rules.d/90-cc-debugger.rules
'';
+6
View File
@@ -53,6 +53,8 @@ stdenv.mkDerivation rec {
zlib
];
doInstallCheck = true;
postInstall = ''
install -Dm 0444 -t $out/lib/udev/rules.d ../src/92_pcscd_ccid.rules
substituteInPlace $out/lib/udev/rules.d/92_pcscd_ccid.rules \
@@ -68,11 +70,15 @@ stdenv.mkDerivation rec {
};
installCheckPhase = ''
runHook preInstallCheck
[ -f $out/etc/reader.conf.d/libccidtwin ]
[ -f $out/lib/udev/rules.d/92_pcscd_ccid.rules ]
[ -f $out/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist ]
[ -f $out/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so ]
[ -f $out/pcsc/drivers/serial/libccidtwin.so ]
runHook preInstallCheck
'';
meta = with lib; {
+4
View File
@@ -31,6 +31,7 @@
gtk-doc,
libxslt,
enableDaemon ? true,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -91,6 +92,7 @@ stdenv.mkDerivation rec {
shared-mime-info
vala
wrapGAppsNoGuiHook
udevCheckHook
]
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
@@ -116,6 +118,8 @@ stdenv.mkDerivation rec {
polkit
];
doInstallCheck = true;
postInstall = ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';
+4
View File
@@ -11,6 +11,7 @@
swig,
perl,
python3,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -34,6 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
docbook_xsl
python3
perl
udevCheckHook
];
preConfigure = ''
@@ -45,6 +47,8 @@ stdenv.mkDerivation (finalAttrs: {
"--sysconfdir=${placeholder "out"}/etc"
];
doInstallCheck = true;
outputs = [
"out"
"dev"
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
libcap,
udevCheckHook,
}:
stdenv.mkDerivation rec {
pname = "cpu-energy-meter";
@@ -22,6 +23,11 @@ stdenv.mkDerivation rec {
'';
buildInputs = [ libcap ];
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
env.NIX_CFLAGS_COMPILE = "-fcommon";
+2
View File
@@ -34,6 +34,8 @@ stdenv.mkDerivation (finalAttrs: {
EOF
'';
doInstallCheck = true;
postInstall = ''
install -Dm644 -t $out/lib/udev/rules.d 95-{3,}dscapture.rules
install -Dm444 -t $out/share/applications Cute{3,}DSCapture.desktop
+4
View File
@@ -8,6 +8,7 @@
swt,
makeWrapper,
strip-nondeterminism,
udevCheckHook,
}:
let
swt-jdk17 = swt.override { jdk = jdk17; };
@@ -26,6 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
jdk17
makeWrapper
strip-nondeterminism
udevCheckHook
];
buildPhase = ''
@@ -40,6 +42,8 @@ stdenv.mkDerivation (finalAttrs: {
# ant -f build/build.xml check
#'';
doInstallCheck = true;
installPhase = ''
runHook preInstall
+1
View File
@@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
];
enableParallelBuilding = true;
doInstallCheck = true;
meta = with lib; {
homepage = "http://www.ddcutil.com/";
+7
View File
@@ -5,6 +5,7 @@
fetchFromGitHub,
btrfs-progs,
python3,
udevCheckHook,
}:
let
@@ -39,6 +40,12 @@ stdenv.mkDerivation rec {
py3
];
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
patchPhase = ''
substituteInPlace ./dduper --replace "/usr/sbin/btrfs.static" "${btrfsProgsPatched}/bin/btrfs"
'';
@@ -27,6 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ libusb1 ];
nativeBuildInputs = [ pkg-config ];
doInstallCheck = true;
udevRules = pkgs.writeText "dediprog.rules" ''
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="dada", MODE="660", GROUP="plugdev"
'';
+1
View File
@@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
systemd
];
doInstallCheck = true;
preConfigure = ''
substituteInPlace Makefile \
--replace /usr/local/bin/dmrconfig $out/bin/dmrconfig
@@ -142,6 +142,8 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail 'if(LIBUSB_FOUND AND NOT APPLE)' 'if(LIBUSB_FOUND)'
'';
doInstallCheck = true;
postInstall =
''
mv $out/bin/dolphin-emu $out/bin/dolphin-emu-primehack
+2
View File
@@ -156,6 +156,8 @@ stdenv.mkDerivation (finalAttrs: {
"--set QT_QPA_PLATFORM xcb"
];
doInstallCheck = true;
postInstall =
lib.optionalString stdenv.hostPlatform.isLinux ''
install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules
+7
View File
@@ -2,6 +2,7 @@
stdenv,
lib,
fetchFromGitHub,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -15,6 +16,12 @@ stdenv.mkDerivation rec {
sha256 = "0hc3gdmn6l01z63hzzwdhbdyy288gh5v219bsfm8fb1498vpnd6f";
};
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
installPhase =
''
install -Dm755 -t $out/bin easypdkprog
+2
View File
@@ -24,6 +24,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ libusb1 ];
doInstallCheck = true;
postInstall = ''
mkdir -p $out/etc/udev/rules.d
cp drivers/*.rules $out/etc/udev/rules.d
+4
View File
@@ -14,6 +14,7 @@
gtest,
miniz,
yaml-cpp,
udevCheckHook,
# List of targets to build simulators for
targetsToBuild ? import ./targets.nix,
}:
@@ -55,6 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
pythonEnv
libsForQt5.qttools
libsForQt5.wrapQtAppsHook
udevCheckHook
];
buildInputs = [
@@ -85,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs companion/util radio/util
'';
doInstallCheck = true;
cmakeFlags = [
# Unvendoring these libraries is infeasible. At least lets reuse the same sources.
(lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_GOOGLETEST" "${gtest.src}")
+1
View File
@@ -51,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
];
strictDeps = true;
doInstallCheck = true;
meta = {
description = "Manager daemon for the Quectel EG25 mobile broadband modem found on the Pine64 PinePhone and PinePhone Pro";
+24 -18
View File
@@ -27,6 +27,7 @@
docbook_xsl_ns,
docbook_xml_dtd_42,
docbook_xml_dtd_45,
udevCheckHook,
# Defaulting to false because usually the rationale for using elogind is to
# use it in situation where a systemd dependency does not work (especially
@@ -45,25 +46,30 @@ stdenv.mkDerivation rec {
hash = "sha256-4KZr/NiiGVwzdDROhiX3GEQTUyIGva6ezb+xC2U3bkg=";
};
nativeBuildInputs = [
meson
ninja
m4
pkg-config
gperf
getent
libcap
gettext
libxslt.bin # xsltproc
docbook5
docbook_xsl
docbook_xsl_ns
docbook_xml_dtd_42
docbook_xml_dtd_45 # needed for docbook without Internet
nativeBuildInputs =
[
meson
ninja
m4
pkg-config
gperf
getent
libcap
gettext
libxslt.bin # xsltproc
docbook5
docbook_xsl
docbook_xsl_ns
docbook_xml_dtd_42
docbook_xml_dtd_45 # needed for docbook without Internet
python3Packages.python
python3Packages.jinja2
];
python3Packages.python
python3Packages.jinja2
]
++ lib.optionals enableSystemd [
# udevCheckHook introduces a dependency on systemdMinimal
udevCheckHook
];
buildInputs = [
acl
+2
View File
@@ -30,6 +30,8 @@ stdenv.mkDerivation {
"makedpfw"
];
doInstallCheck = true;
installPhase = ''
runHook preInstall
install -Dm755 em100 $out/bin/em100
+2
View File
@@ -114,6 +114,8 @@ stdenv.mkDerivation {
"-DNO_GUI=ON"
];
doInstallCheck = true;
postInstall =
''
# But when we put all the libraries in lib/${system}-gnu, then SANE can't find the
+4
View File
@@ -21,6 +21,7 @@
gmobile,
umockdev,
feedbackd-device-themes,
udevCheckHook,
nix-update-script,
}:
@@ -58,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
vala
wrapGAppsHook3
udevCheckHook
];
buildInputs = [
@@ -98,6 +100,8 @@ stdenv.mkDerivation (finalAttrs: {
fi
'';
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
+2
View File
@@ -58,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
install -Dm644 ../util/50-flashprog.rules "$out/lib/udev/rules.d/50-flashprog.rules"
'';
doInstallCheck = true;
passthru.updateScript = gitUpdater {
rev-prefix = "v";
allowedVersions = "^[0-9\\.]+$";
+1
View File
@@ -63,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: {
];
doCheck = !stdenv.hostPlatform.isDarwin;
doInstallCheck = true;
postInstall = ''
install -Dm644 $NIX_BUILD_TOP/$sourceRoot/util/flashrom_udev.rules $out/lib/udev/rules.d/flashrom.rules
+3
View File
@@ -6,6 +6,7 @@
bc,
ghostscript,
systemd,
udevCheckHook,
vim,
time,
}:
@@ -24,6 +25,7 @@ stdenv.mkDerivation rec {
foomatic-filters
ghostscript
vim
udevCheckHook
];
buildInputs = [
@@ -72,6 +74,7 @@ stdenv.mkDerivation rec {
nativeCheckInputs = [ time ];
doCheck = false; # fails to find its own binary. Also says "Tests will pass only if you are using ghostscript-8.71-16.fc14".
doInstallCheck = true;
preInstall = ''
mkdir -pv $out/{etc/udev/rules.d,lib/udev/rules.d,etc/hotplug/usb}
+7 -1
View File
@@ -4,6 +4,7 @@
fetchFromGitHub,
pkg-config,
hidapi,
udevCheckHook,
}:
stdenv.mkDerivation {
@@ -17,7 +18,10 @@ stdenv.mkDerivation {
hash = "sha256-vwjeWjIXQiFJ0o/wgEBrKP3hQi8Xa/azVS1IE/Q/MyY=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
udevCheckHook
];
buildInputs = [ hidapi ];
postPatch = ''
@@ -31,6 +35,8 @@ stdenv.mkDerivation {
mkdir -p $out/bin $out/lib/udev/rules.d
'';
doInstallCheck = true;
meta = with lib; {
description = "Command line utlities for programming PCsensor and Scythe foot switches";
homepage = "https://github.com/rgerganov/footswitch";
+7
View File
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
hidapi,
udevCheckHook,
profile ? "/etc/g810-led/profile",
}:
@@ -30,6 +31,12 @@ stdenv.mkDerivation (finalAttrs: {
hidapi
];
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
installPhase = ''
runHook preInstall
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitea,
bash,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -17,6 +18,12 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-dWWo3qXnxdLP68NuFKM4/Cw5yE6uAsWzj0vZa9UTT0U=";
};
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
postInstall = ''
install -Dm444 -t "$out/lib/udev/rules.d" *.rules
substituteInPlace $out/lib/udev/rules.d/71-powera-controllers.rules \
+4
View File
@@ -31,6 +31,7 @@
dbus,
nixos-icons,
runCommand,
udevCheckHook,
}:
let
@@ -74,6 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
ninja
pkg-config
gobject-introspection
udevCheckHook
];
buildInputs = [
@@ -144,6 +146,8 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "dconf_prefix = dconf_dep.get_variable(pkgconfig: 'prefix')" "dconf_prefix = gdm_prefix"
'';
doInstallCheck = true;
preInstall = ''
install -D ${override} "$DESTDIR/$out/share/glib-2.0/schemas/org.gnome.login-screen.gschema.override"
'';
+3
View File
@@ -9,6 +9,7 @@
bzip2,
check,
ncurses,
udevCheckHook,
util-linux,
zlib,
}:
@@ -34,6 +35,7 @@ stdenv.mkDerivation rec {
bison
flex
pkg-config
udevCheckHook
];
buildInputs = [
bzip2
@@ -44,6 +46,7 @@ stdenv.mkDerivation rec {
nativeCheckInputs = [ check ];
doCheck = true;
doInstallCheck = true;
enableParallelBuilding = true;
+4
View File
@@ -10,6 +10,7 @@
json-glib,
libuev,
gobject-introspection,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -31,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
ninja
pkg-config
gobject-introspection
udevCheckHook
];
buildInputs = [
@@ -39,6 +41,8 @@ stdenv.mkDerivation (finalAttrs: {
libuev
];
doInstallCheck = true;
meta = {
description = "Functions useful in mobile related, glib based projects";
homepage = "https://gitlab.gnome.org/World/Phosh/gmobile";
@@ -38,6 +38,7 @@
tzdata,
gcr_4,
gnome-session-ctl,
udevCheckHook,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
}:
@@ -76,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
docbook_xsl
wrapGAppsHook3
python3
udevCheckHook
];
buildInputs =
@@ -125,6 +127,8 @@ stdenv.mkDerivation (finalAttrs: {
done
'';
doInstallCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-settings-daemon";
+7
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -18,6 +19,12 @@ stdenv.mkDerivation rec {
substituteInPlace 60-gobi.rules --replace "/lib/firmware" "/run/current-system/firmware"
'';
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
makeFlags = [ "prefix=${placeholder "out"}" ];
meta = with lib; {
@@ -11,6 +11,7 @@
gnugrep,
gnused,
nvme-cli,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -34,7 +35,10 @@ stdenv.mkDerivation rec {
iproute2
];
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [
makeWrapper
udevCheckHook
];
dontConfigure = true;
dontBuild = true;
@@ -49,6 +53,8 @@ stdenv.mkDerivation rec {
patch -p1 < ./fix-paths.patch
'';
doInstallCheck = true;
installPhase = ''
mkdir -p $out/{bin,etc,lib}
cp -r src/etc/{modprobe.d,sysctl.d} $out/etc
@@ -8,6 +8,7 @@
dbus,
openssl,
speechd-minimal,
udevCheckHook,
}:
rustPlatform.buildRustPackage rec {
@@ -35,10 +36,13 @@ rustPlatform.buildRustPackage rec {
pkg-config
installShellFiles
rustPlatform.bindgenHook
udevCheckHook
];
buildFeatures = [ "tts" ];
doInstallCheck = true;
postInstall = ''
install -Dm644 "50-goxlr.rules" "$out/etc/udev/rules.d/50-goxlr.rules"
install -Dm644 "daemon/resources/goxlr-utility.png" "$out/share/icons/hicolor/48x48/apps/goxlr-utility.png"
+2
View File
@@ -121,6 +121,8 @@ stdenv.mkDerivation rec {
mkdir -p "$out/lib/udev/rules.d"
'';
doInstallCheck = true;
installTargets = [
"install"
"udev-install"
+4
View File
@@ -5,6 +5,7 @@
bison,
flex,
pam,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -19,6 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
bison
flex
udevCheckHook
];
buildInputs = [ pam ];
@@ -47,6 +49,8 @@ stdenv.mkDerivation (finalAttrs: {
mkdir -p "$out/etc/udev/rules.d"
'';
doInstallCheck = true;
postInstall = "rmdir $out/dev";
meta = {
+4
View File
@@ -15,6 +15,7 @@
fmt,
nlohmann_json,
spdlog,
udevCheckHook,
nix-update-script,
}:
@@ -32,6 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
udevCheckHook
];
buildInputs = [
@@ -68,6 +70,8 @@ stdenv.mkDerivation (finalAttrs: {
ln -s $out/libexec/gummyd $out/bin/gummyd
'';
doInstallCheck = true;
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
passthru.updateScript = nix-update-script { };
+2
View File
@@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
cd host
'';
doInstallCheck = true;
postPatch = ''
substituteInPlace host/cmake/modules/FindFFTW.cmake \
--replace "find_library (FFTW_LIBRARIES NAMES fftw3)" "find_library (FFTW_LIBRARIES NAMES fftw3f)"
+7
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -13,6 +14,12 @@ stdenv.mkDerivation rec {
sha256 = "0ppgrfabd0ivx9hyny3c3rv4rphjyxcdsd5svx5pgfai49mxnl36";
};
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
postInstall = builtins.readFile ./postInstall.sh;
meta = with lib; {
@@ -5,6 +5,7 @@
fetchpatch,
cmake,
hidapi,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -27,12 +28,15 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
udevCheckHook
];
buildInputs = [
hidapi
];
doInstallCheck = true;
meta = with lib; {
description = "Sidetone and Battery status for Logitech G930, G533, G633, G933 SteelSeries Arctis 7/PRO 2019 and Corsair VOID (Pro)";
longDescription = ''
@@ -6,6 +6,7 @@
udev,
pkg-config,
installShellFiles,
udevCheckHook,
versionCheckHook,
}:
@@ -24,6 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [
pkg-config
installShellFiles
udevCheckHook
];
useFetchCargoVendor = true;
@@ -11,6 +11,7 @@
libgudev,
systemd,
polkit,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -44,6 +45,7 @@ stdenv.mkDerivation rec {
libxml2
ninja
pkg-config
udevCheckHook
];
mesonFlags = [
@@ -51,6 +53,8 @@ stdenv.mkDerivation rec {
(lib.mesonOption "systemdsystemunitdir" "${placeholder "out"}/lib/systemd/system")
];
doInstallCheck = true;
meta = with lib; {
description = "Proxy for sending IIO sensor data to D-Bus";
mainProgram = "monitor-sensor";
+2
View File
@@ -60,6 +60,8 @@ stdenv.mkDerivation (finalAttrs: {
}"
'';
doInstallCheck = true;
meta = {
changelog = "https://github.com/bigbigmdm/IMSProg/releases/tag/v${finalAttrs.version}";
description = "A free I2C EEPROM programmer tool for CH341A device";
+4
View File
@@ -21,6 +21,7 @@
pkg-config,
sqlite,
udev,
udevCheckHook,
installShellFiles,
nix-update-script,
nixosTests,
@@ -85,6 +86,7 @@ buildGoModule (finalAttrs: {
installShellFiles
pkg-config
docsPython
udevCheckHook
];
buildInputs = [
@@ -129,6 +131,8 @@ buildGoModule (finalAttrs: {
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
doInstallCheck = true;
postInstall = ''
installShellCompletion --cmd incus \
--bash <($out/bin/incus completion bash) \
+7
View File
@@ -5,6 +5,7 @@
fetchpatch,
libftdi,
testers,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -32,6 +33,12 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ libftdi ];
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
makefile = "Makefile.linux";
makeFlags = [ "PREFIX=$(out)" ];
postPatch = ''
@@ -7,6 +7,7 @@
inputmodule-control,
pkg-config,
libudev-zero,
udevCheckHook,
}:
rustPlatform.buildRustPackage rec {
@@ -25,9 +26,14 @@ rustPlatform.buildRustPackage rec {
buildAndTestSubdir = "inputmodule-control";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
udevCheckHook
];
buildInputs = [ libudev-zero ];
doInstallCheck = true;
postInstall = ''
install -Dm644 release/50-framework-inputmodule.rules $out/etc/udev/rules.d/50-framework-inputmodule.rules
'';
+2
View File
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libusb1 ];
doInstallCheck = true;
postPatch = ''
substituteInPlace Makefile \
--replace " -o root -g root" "" \
+2
View File
@@ -40,6 +40,8 @@ buildGoModule rec {
vendorHash = null;
doInstallCheck = true;
postInstall = ''
# to accomodate the makefile
cp $out/bin/ipp-usb .
+4
View File
@@ -13,6 +13,7 @@
microsoft-gsl,
spdlog,
systemd,
udevCheckHook,
}:
stdenv.mkDerivation rec {
@@ -31,6 +32,7 @@ stdenv.mkDerivation rec {
meson
ninja
pkg-config
udevCheckHook
];
dontUseCmakeConfigure = true;
@@ -45,6 +47,8 @@ stdenv.mkDerivation rec {
systemd
];
doInstallCheck = true;
# Original installs udev rules and service config into global paths
postPatch = ''
substituteInPlace etc/meson.build \
+4
View File
@@ -6,6 +6,7 @@
pkg-config,
libevdev,
udev,
udevCheckHook,
acl,
}:
@@ -23,12 +24,15 @@ stdenv.mkDerivation {
nativeBuildInputs = [
cmake
pkg-config
udevCheckHook
];
buildInputs = [
libevdev
udev
];
doInstallCheck = true;
# CMake has hardcoded install paths
installPhase = ''
mkdir -p $out/{bin,etc/{systemd/system,udev/rules.d},lib/modules-load.d}
+7 -1
View File
@@ -6,6 +6,7 @@
fetchzip,
inkscape,
lib,
udevCheckHook,
udevGroup ? "k40",
}:
@@ -35,7 +36,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Pc6iqBQUoI0dsrf+2dA1ZbxX+4Eks/lVgMGC4SR+oFI=";
};
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [
makeWrapper
udevCheckHook
];
patchPhase = ''
substituteInPlace svg_reader.py \
@@ -44,6 +48,8 @@ stdenv.mkDerivation rec {
buildPhase = "";
doInstallCheck = true;
installPhase = ''
mkdir -p $out
cp -p * $out
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
udevCheckHook,
}:
stdenv.mkDerivation {
@@ -15,6 +16,12 @@ stdenv.mkDerivation {
sha256 = "sha256-5jN9xy3+kk540PAyfsxIqck9hdI3t2CNpgqKxLbAsDg=";
};
nativeBuildInputs = [
udevCheckHook
];
doInstallCheck = true;
dontBuild = true;
dontConfigure = true;
+2
View File
@@ -54,6 +54,8 @@ stdenv.mkDerivation rec {
sed -i 's/$(hostname)/hostname/' host/utilities/bladeRF-cli/src/cmd/doc/generate.bash
'';
doInstallCheck = true;
cmakeFlags =
[
"-DBUILD_DOCUMENTATION=ON"
+2
View File
@@ -61,6 +61,8 @@ stdenv.mkDerivation {
flatbuffers_23_5_26
];
doInstallCheck = true;
nativeBuildInputs = [ xxd ];
NIX_CXXSTDLIB_COMPILE = "-std=c++17";
+4
View File
@@ -8,6 +8,7 @@
libcbor,
openssl,
udev,
udevCheckHook,
zlib,
withPcsclite ? true,
pcsclite,
@@ -26,6 +27,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
pkg-config
udevCheckHook
];
buildInputs =
@@ -45,6 +47,8 @@ stdenv.mkDerivation rec {
"man"
];
doInstallCheck = true;
cmakeFlags =
[
"-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d"
+2
View File
@@ -12,6 +12,7 @@
gobject-introspection,
cairo,
libgudev,
udevCheckHook,
gtk-doc,
docbook-xsl-nons,
docbook_xml_dtd_43,
@@ -51,6 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
docbook-xsl-nons
docbook_xml_dtd_43
gobject-introspection
udevCheckHook
];
buildInputs = [
+2
View File
@@ -43,6 +43,8 @@ stdenv.mkDerivation {
strictDeps = true;
doInstallCheck = true;
nativeBuildInputs =
[
cmake
+2
View File
@@ -45,6 +45,8 @@ stdenv.mkDerivation rec {
gd
];
doInstallCheck = true;
# These are mentioned in the Requires line of libgphoto's pkg-config file.
propagatedBuildInputs = [ libexif ];
+2
View File
@@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
libimobiledevice-glue
];
doInstallCheck = true;
preAutoreconf = ''
export RELEASE_VERSION=${version}
'';

Some files were not shown because too many files have changed in this diff Show More