numworks-udev-rules: init on 02/09/2020
This commit is contained in:
parent
f076cd769d
commit
e5bb747c9d
@ -0,0 +1,2 @@
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="a291", TAG+="uaccess"
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="df11", TAG+="uaccess"
|
21
pkgs/os-specific/linux/numworks-udev-rules/default.nix
Normal file
21
pkgs/os-specific/linux/numworks-udev-rules/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
3
pkgs/os-specific/linux/numworks-udev-rules/update.sh
Executable file
3
pkgs/os-specific/linux/numworks-udev-rules/update.sh
Executable file
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user