mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
23 lines
431 B
Nix
23 lines
431 B
Nix
|
{ bootloadHID, ... }:
|
||
|
final: prev:
|
||
|
{
|
||
|
magic_rb = prev.magic_rb or {} // {
|
||
|
bootloadHID = prev.stdenv.mkDerivation {
|
||
|
pname = "bootloadHID";
|
||
|
version = "2012-12-08";
|
||
|
|
||
|
src = bootloadHID;
|
||
|
|
||
|
buildInputs = with prev;
|
||
|
[ libusb-compat-0_1
|
||
|
];
|
||
|
|
||
|
sourceRoot = "source/commandline";
|
||
|
installPhase = ''
|
||
|
install -d $out/bin
|
||
|
install bootloadHID $out/bin
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|