about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/ltunify/default.nix
blob: b97a0e42ee00058e778ad529db5488770e3d5579 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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

stdenv.mkDerivation {
  pname = "ltunify";
  version = "unstable-20180330";

  src = fetchFromGitHub {
    owner  = "Lekensteyn";
    repo   = "ltunify";
    rev    = "f664d1d41d5c4beeac5b81e485c3498f13109db7";
    sha256 = "07sqhih9jmm7vgiwqsjzihd307cj7l096sxjl25p7nwr1q4180wv";
  };

  makeFlags = [ "DESTDIR=$(out)" "bindir=/bin" ];

  meta = with lib; {
    description = "Tool for working with Logitech Unifying receivers and devices";
    homepage = "https://lekensteyn.nl/logitech-unifying.html";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ abbradar ];
    platforms = platforms.linux;
  };
}