mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Add overlay for bootloadHID
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
44b7736952
commit
fd68d0e485
|
@ -78,6 +78,7 @@
|
||||||
overlays/ds3os.nix
|
overlays/ds3os.nix
|
||||||
overlays/terraform-provider-vault.nix
|
overlays/terraform-provider-vault.nix
|
||||||
overlays/terraform-provider-influxdb-v2.nix
|
overlays/terraform-provider-influxdb-v2.nix
|
||||||
|
overlays/bootloadHID.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
flake.nixosModules = {
|
flake.nixosModules = {
|
||||||
|
|
28
overlays/bootloadHID.nix
Normal file
28
overlays/bootloadHID.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue