Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
867 B
Nix

{
stdenv,
fetchFromGitHub,
unstableGitUpdater,
lib,
}:
stdenv.mkDerivation {
pname = "ps3iso-utils";
version = "277db7de";
src = fetchFromGitHub {
owner = "bucanero";
repo = "ps3iso-utils";
rev = "878090980a9042c61901920fed1b034af215e8c7";
hash = "sha256-HUx5BqHBvVMUHReuJL0RcyxXOnufSt1Zi/ieAlI2eoc=";
};
buildPhase = ''
mkdir -p bin/
find . -type f -name "*.c" -exec \
sh -c 'OFILE=`basename "{}" ".c"` && $CC "{}" -o bin/"$OFILE"' \;
'';
installPhase = ''
mkdir -p $out/bin
cp bin/* $out/bin
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Estwald's PS3ISO utilities";
homepage = "https://github.com/bucanero/ps3iso-utils";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ soupglasses ];
platforms = lib.platforms.all;
};
}