update apple silicon support

add update script
This commit is contained in:
Christoph Cullmann 2025-07-06 16:38:05 +02:00
parent 6cea23953e
commit e8ee273d59
No known key found for this signature in database
4 changed files with 21 additions and 36 deletions

View file

@ -1,14 +1,17 @@
{ lib
, python3
, fetchFromGitHub
, gzip
, gnutar
, lzfse
{
python3,
fetchFromGitHub,
gzip,
gnutar,
lzfse,
}:
python3.pkgs.buildPythonApplication rec {
pname = "asahi-fwextract";
version = "0.7.8";
pyproject = true;
build-system = [ python3.pkgs.setuptools ];
# tracking version: https://packages.fedoraproject.org/pkgs/asahi-installer/python3-asahi_firmware/
src = fetchFromGitHub {
@ -26,7 +29,5 @@ python3.pkgs.buildPythonApplication rec {
--replace '"xf"' '"-x", "-I", "${gzip}/bin/gzip", "-f"'
'';
nativeBuildInputs = [ python3.pkgs.setuptools ];
doCheck = false;
}