2024-03-02 22:05:30 +01:00
|
|
|
{...}: {
|
|
|
|
flake.overlays.bootloadHID = final: prev: {
|
|
|
|
bootloadHID = prev.stdenv.mkDerivation {
|
|
|
|
pname = "bootloadHID";
|
|
|
|
version = "2012-12-08";
|
2023-06-15 23:02:23 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
src = prev.fetchFromGitHub {
|
|
|
|
owner = "whiteneon";
|
|
|
|
repo = "bootloadHID";
|
|
|
|
rev = "42c6f246b79949892268d2212e0347f27e01bd53";
|
|
|
|
sha256 = "sha256-JPcnPwgSFJE88YDGNTq6OsUjZjKx561pfnjxvyp2+1M=wn";
|
|
|
|
};
|
2023-06-15 23:02:23 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
buildInputs = with prev; [
|
|
|
|
libusb-compat-0_1
|
|
|
|
];
|
2023-06-15 23:02:23 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
sourceRoot = "source/commandline";
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/bin
|
|
|
|
install bootloadHID $out/bin
|
|
|
|
'';
|
2023-06-15 23:02:23 +02:00
|
|
|
};
|
2024-03-02 22:05:30 +01:00
|
|
|
};
|
2023-06-15 23:02:23 +02:00
|
|
|
}
|