uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/tools/misc/ltunify/default.nix
Normal file
29
pkgs/tools/misc/ltunify/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ 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 rec {
|
||||
pname = "ltunify";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
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 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue