nixpkgs/pkgs/tools/compression/flips/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
874 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, gtk3, libdivsufsort, pkg-config, wrapGAppsHook3 }:
2020-03-18 15:34:23 +00:00
stdenv.mkDerivation {
pname = "flips";
version = "unstable-2023-03-15";
2020-03-18 15:34:23 +00:00
src = fetchFromGitHub {
owner = "Alcaro";
repo = "Flips";
rev = "fdd5c6e34285beef5b9be759c9b91390df486c66";
hash = "sha256-uuHgpt7aWqiMTUILm5tAEGGeZrls3g/DdylYQgsfpTw=";
2020-03-18 15:34:23 +00:00
};
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
2020-03-18 15:34:23 +00:00
buildInputs = [ gtk3 libdivsufsort ];
patches = [ ./use-system-libdivsufsort.patch ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
buildPhase = ''
runHook preBuild
./make.sh
runHook postBuild
'';
2020-03-18 15:34:23 +00:00
meta = with lib; {
2020-03-18 15:34:23 +00:00
description = "Patcher for IPS and BPS files";
homepage = "https://github.com/Alcaro/Flips";
license = licenses.gpl3Plus;
2024-04-21 21:22:17 +01:00
maintainers = [ ];
2020-03-18 15:34:23 +00:00
platforms = platforms.linux;
2023-11-23 02:51:17 +00:00
mainProgram = "flips";
2020-03-18 15:34:23 +00:00
};
}