nixpkgs/pkgs/tools/compression/flips/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

33 lines
874 B
Nix

{ lib, stdenv, fetchFromGitHub, gtk3, libdivsufsort, pkg-config, wrapGAppsHook3 }:
stdenv.mkDerivation {
pname = "flips";
version = "unstable-2023-03-15";
src = fetchFromGitHub {
owner = "Alcaro";
repo = "Flips";
rev = "fdd5c6e34285beef5b9be759c9b91390df486c66";
hash = "sha256-uuHgpt7aWqiMTUILm5tAEGGeZrls3g/DdylYQgsfpTw=";
};
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; {
description = "Patcher for IPS and BPS files";
homepage = "https://github.com/Alcaro/Flips";
license = licenses.gpl3Plus;
maintainers = [ ];
platforms = platforms.linux;
mainProgram = "flips";
};
}