|
|
|
@ -1,14 +1,14 @@ |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, libusb1 }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation { |
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "rpiboot"; |
|
|
|
|
version = "unstable-2020-10-20"; |
|
|
|
|
version = "2021.07.01"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "raspberrypi"; |
|
|
|
|
repo = "usbboot"; |
|
|
|
|
rev = "d3760e119385a179765f43a50a8e051a44127c25"; |
|
|
|
|
sha256 = "0vygzh2h27xplqp1x4isj6kgrgmvmvc1mr3ghmsi98kzp91w772r"; |
|
|
|
|
rev = "v${version}"; |
|
|
|
|
sha256 = "sha256-BkNyYCrasfiRs7CbJa7tCo2k70TLGcXkOX+zGPyZGGE="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ libusb1 ]; |
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation { |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
homepage = "https://github.com/raspberrypi/usbboot"; |
|
|
|
|
description = "Utility to boot a Raspberry Pi CM/CM3/Zero over USB"; |
|
|
|
|
description = "Utility to boot a Raspberry Pi CM/CM3/CM4/Zero over USB"; |
|
|
|
|
license = licenses.asl20; |
|
|
|
|
maintainers = with maintainers; [ cartr ]; |
|
|
|
|
platforms = [ "aarch64-linux" "armv7l-linux" "armv6l-linux" "x86_64-linux" ]; |
|
|
|
|