forked from mirrors/nixpkgs
logitech-udev-rules: make it an alias of solaar.udev
This commit is contained in:
parent
f4697343c6
commit
cce5385de5
|
@ -10,7 +10,8 @@
|
|||
}:
|
||||
|
||||
# Although we copy in the udev rules here, you probably just want to use
|
||||
# logitech-udev-rules instead of adding this to services.udev.packages on NixOS
|
||||
# `logitech-udev-rules`, which is an alias to `udev` output of this derivation,
|
||||
# instead of adding this to `services.udev.packages` on NixOS,
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "solaar";
|
||||
version = "1.1.4";
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
{ lib, stdenv, solaar }:
|
||||
|
||||
# ltunifi and solaar both provide udev rules but solaar's rules are more
|
||||
# up-to-date so we simply use that instead of having to maintain our own rules
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "logitech-udev-rules";
|
||||
inherit (solaar) version;
|
||||
|
||||
buildCommand = ''
|
||||
install -Dm444 -t $out/etc/udev/rules.d ${solaar.src}/rules.d/*.rules
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "udev rules for Logitech devices";
|
||||
inherit (solaar.meta) homepage license platforms;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
|
@ -24846,7 +24846,9 @@ with pkgs;
|
|||
|
||||
logiops = callPackage ../misc/drivers/logiops { };
|
||||
|
||||
logitech-udev-rules = callPackage ../os-specific/linux/logitech-udev-rules { };
|
||||
# ltunifi and solaar both provide udev rules but solaar's rules are more
|
||||
# up-to-date so we simply use that instead of having to maintain our own rules
|
||||
logitech-udev-rules = solaar.udev;
|
||||
|
||||
# lohit-fonts.assamese lohit-fonts.bengali lohit-fonts.devanagari lohit-fonts.gujarati lohit-fonts.gurmukhi
|
||||
# lohit-fonts.kannada lohit-fonts.malayalam lohit-fonts.marathi lohit-fonts.nepali lohit-fonts.odia
|
||||
|
|
Loading…
Reference in a new issue