numworks-udev-rules: init on 02/09/2020

This commit is contained in:
SCOTT-HAMILTON 2020-09-02 12:52:36 +02:00
parent f076cd769d
commit e5bb747c9d
4 changed files with 28 additions and 0 deletions

@ -0,0 +1,2 @@
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="a291", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="df11", TAG+="uaccess"

@ -0,0 +1,21 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "numworks-udev-rules";
version = "unstable-2020-08-31";
udevRules = ./50-numworks-calculator.rules;
dontUnpack = true;
installPhase = ''
install -Dm 644 "${udevRules}" "$out/lib/udev/rules.d/50-numworks-calculator.rules"
'';
meta = with stdenv.lib; {
description = "Udev rules for Numworks calculators";
homepage = "https://numworks.com";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ shamilton ];
platforms = platforms.linux;
};
}

@ -0,0 +1,3 @@
#!/bin/sh
wget -O 50-numworks-calculator.rules "https://workshop.numworks.com/files/drivers/linux/50-numworks-calculator.rules"

@ -2151,6 +2151,8 @@ in
numatop = callPackage ../os-specific/linux/numatop { };
numworks-udev-rules = callPackage ../os-specific/linux/numworks-udev-rules { };
iio-sensor-proxy = callPackage ../os-specific/linux/iio-sensor-proxy { };
ipvsadm = callPackage ../os-specific/linux/ipvsadm { };