summaryrefslogtreecommitdiff
path: root/pkgs/tools/misc/ltunify
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/tools/misc/ltunify
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/tools/misc/ltunify')
-rw-r--r--pkgs/tools/misc/ltunify/default.nix19
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/tools/misc/ltunify/default.nix b/pkgs/tools/misc/ltunify/default.nix
index b97a0e42ee00..df425162d847 100644
--- a/pkgs/tools/misc/ltunify/default.nix
+++ b/pkgs/tools/misc/ltunify/default.nix
@@ -1,23 +1,26 @@
{ lib, stdenv, fetchFromGitHub }:
-# 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
+# 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
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
pname = "ltunify";
- version = "unstable-20180330";
+ version = "0.3";
src = fetchFromGitHub {
- owner = "Lekensteyn";
- repo = "ltunify";
- rev = "f664d1d41d5c4beeac5b81e485c3498f13109db7";
- sha256 = "07sqhih9jmm7vgiwqsjzihd307cj7l096sxjl25p7nwr1q4180wv";
+ owner = "Lekensteyn";
+ repo = "ltunify";
+ rev = "v${version}";
+ sha256 = "sha256-9avri/2H0zv65tkBsIi9yVxx3eVS9oCkVCCFdjXqSgI=";
};
makeFlags = [ "DESTDIR=$(out)" "bindir=/bin" ];
meta = with lib; {
description = "Tool for working with Logitech Unifying receivers and devices";
+ longDescription = ''
+ This tool requires either to be run with root/sudo or alternatively to have the udev rules files installed. On NixOS this can be achieved by setting `hardware.logitech.wireless.enable`.
+ '';
homepage = "https://lekensteyn.nl/logitech-unifying.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ abbradar ];