nixpkgs/pkgs/applications/emulators/cen64/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

32 lines
817 B
Nix

{ lib, cmake, fetchFromGitHub, libGL, libiconv, libX11, openal, stdenv }:
stdenv.mkDerivation rec {
pname = "cen64";
version = "unstable-2022-10-02";
src = fetchFromGitHub {
owner = "n64dev";
repo = "cen64";
rev = "ee6db7d803a77b474e73992fdc25d76b9723d806";
sha256 = "sha256-/CraSu/leNA0dl8NVgFjvKdOWrC9/namAz5NSxtPr+I=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libGL libiconv openal libX11 ];
installPhase = ''
runHook preInstall
install -D {,$out/bin/}${pname}
runHook postInstall
'';
meta = with lib; {
description = "Cycle-Accurate Nintendo 64 Emulator";
license = licenses.bsd3;
homepage = "https://github.com/n64dev/cen64";
maintainers = [ maintainers._414owen ];
platforms = [ "x86_64-linux" ];
mainProgram = "cen64";
};
}