dotfiles/overlays/bootloadHID.nix
Magic_RB fd68d0e485
Add overlay for bootloadHID
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:10:01 +02:00

29 lines
610 B
Nix

{ ... }:
{
flake.overlays.bootloadHID =
final: prev:
{
bootloadHID = prev.stdenv.mkDerivation {
pname = "bootloadHID";
version = "2012-12-08";
src = prev.fetchFromGitHub {
owner = "whiteson";
repo = "bootloadHID";
rev = "42c6f246b79949892268d2212e0347f27e01bd53";
sha = "";
};
buildInputs = with prev; [
libusb-compat-0_1
];
sourceRoot = "source/commandline";
installPhase = ''
install -d $out/bin
install bootloadHID $out/bin
'';
};
};
}