2019-03-11 08:07:58 +03:00
|
|
|
{ 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
|
2016-01-11 05:21:24 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "ltunify";
|
2019-03-11 08:07:58 +03:00
|
|
|
version = "unstable-20180330";
|
2016-01-11 05:21:24 +03:00
|
|
|
|
2019-03-11 08:07:58 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Lekensteyn";
|
|
|
|
repo = "ltunify";
|
|
|
|
rev = "f664d1d41d5c4beeac5b81e485c3498f13109db7";
|
|
|
|
sha256 = "07sqhih9jmm7vgiwqsjzihd307cj7l096sxjl25p7nwr1q4180wv";
|
2016-01-11 05:21:24 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "bindir=/bin" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tool for working with Logitech Unifying receivers and devices";
|
2017-08-01 23:03:30 +03:00
|
|
|
homepage = https://lekensteyn.nl/logitech-unifying.html;
|
2016-01-11 05:21:24 +03:00
|
|
|
license = licenses.gpl3Plus;
|
2019-03-11 08:07:58 +03:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2016-01-11 05:21:24 +03:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|