Unverified Commit e3c232ad authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents 8c2be6d6 72e45fba
Loading
Loading
Loading
Loading
+10 −12
Original line number Diff line number Diff line
@@ -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; {
  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";
  };
}