fmt ++
This commit is contained in:
39
packages/raspberrypi/raspberrypi-utils/default.nix
Normal file
39
packages/raspberrypi/raspberrypi-utils/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/libraries/libraspberrypi/default.nix#L28
|
||||
# because libraspberrypi is outdated and deprecated
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
dtc,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (_finalAttrs: {
|
||||
pname = "raspberrypi-utils";
|
||||
version = "unstable-2025-11-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raspberrypi";
|
||||
repo = "utils";
|
||||
rev = "6e0779b1c552976e0da2374c0325a8c9c77b6010";
|
||||
hash = "sha256-gzcQdchmYZ8NSGDnozUK3JgEQAO5b7GCOzQeRL0nDM8";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
dtc # dtmerge depends on libfdt
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of scripts and simple applications for Raspberry Pi hardware";
|
||||
homepage = "https://github.com/raspberrypi/utils";
|
||||
license = licenses.bsd3;
|
||||
platforms = [
|
||||
"armv6l-linux"
|
||||
"armv7l-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
maintainers = with maintainers; [ kazenyuk ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user