1
0
Fork 0
forked from UniverseBow/flake

fix nixpkgs rev for t2pkgs

This commit is contained in:
do butterflies cry? 2026-03-27 13:44:23 +10:00
parent 80d7e8489d
commit a65c2d24a7
Signed by: cry
GPG key ID: F68745A836CA0412
8 changed files with 116 additions and 73 deletions

View file

@ -1,29 +0,0 @@
{
stdenvNoCC,
fetchurl,
lib,
}:
stdenvNoCC.mkDerivation (final: {
pname = "get-apple-firmware";
version = "360156db52c013dbdac0ef9d6e2cebbca46b955b";
src = fetchurl {
url = "https://raw.github.com/t2linux/wiki/${final.version}/docs/tools/firmware.sh";
hash = "sha256-IL7omNdXROG402N2K9JfweretTnQujY67wKKC8JgxBo=";
};
dontUnpack = true;
buildPhase = ''
mkdir -p $out/bin
cp ${final.src} $out/bin/get-apple-firmware
chmod +x $out/bin/get-apple-firmware
'';
meta = {
description = "A script to get needed firmware for T2linux devices";
homepage = "https://t2linux.org";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [soopyc];
mainProgram = "get-apple-firmware";
};
})