flips: unstable-2023-03-15 -> 196 (#382373)

This commit is contained in:
Aleksana
2025-02-24 20:21:06 +08:00
committed by GitHub
+12 -14
View File
@@ -8,39 +8,37 @@
wrapGAppsHook3,
}:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "flips";
version = "unstable-2023-03-15";
version = "196";
src = fetchFromGitHub {
owner = "Alcaro";
repo = "Flips";
rev = "fdd5c6e34285beef5b9be759c9b91390df486c66";
hash = "sha256-uuHgpt7aWqiMTUILm5tAEGGeZrls3g/DdylYQgsfpTw=";
tag = "v${version}";
hash = "sha256-lQ88Iz607AcVzvN/jLGhOn7qiRe9pau9oQcLMt7JIT8=";
};
nativeBuildInputs = [
pkg-config
wrapGAppsHook3
];
buildInputs = [
gtk3
libdivsufsort
];
patches = [ ./use-system-libdivsufsort.patch ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
buildPhase = ''
runHook preBuild
./make.sh
runHook postBuild
'';
meta = with lib; {
patches = [ ./use-system-libdivsufsort.patch ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = {
description = "Patcher for IPS and BPS files";
homepage = "https://github.com/Alcaro/Flips";
license = licenses.gpl3Plus;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ aleksana ];
platforms = platforms.linux;
platforms = lib.platforms.linux;
mainProgram = "flips";
};
}