Formatting

This commit is contained in:
Erwin Boskma 2022-07-02 19:08:50 +02:00
parent 747b804b0f
commit 2513a8a0c0
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -8,18 +8,18 @@ mkDerivation {
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/lib/udev/rules.d
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", TAG+="uaccess"' > $out/lib/udev/rules.d/70-picotool.rules
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="000a", TAG+="uaccess"' >> $out/lib/udev/rules.d/70-picotool.rules
'';
mkdir -p $out/lib/udev/rules.d
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", TAG+="uaccess"' > $out/lib/udev/rules.d/70-picotool.rules
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="000a", TAG+="uaccess"' >> $out/lib/udev/rules.d/70-picotool.rules
'';
meta = with lib; {
description = "udev rules for Raspberry Pi picotool";
license = licenses.mit;
maintainers = [{
email = "erwin@datarift.nl";
github = "eboskma";
name = "Erwin Boskma";
github = "eboskma";
name = "Erwin Boskma";
}];
platforms = platforms.linux;
homepage = "https://github.com/raspberrypi/picotool";