nixpkgs-suyu/pkgs/applications/science/math/cemu-ti/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

46 lines
944 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, qmake
, pkg-config
, wrapQtAppsHook
, libarchive
, libpng
}:
stdenv.mkDerivation rec {
pname = "CEmu";
version = "unstable-2022-06-29";
src = fetchFromGitHub {
owner = "CE-Programming";
repo = "CEmu";
rev = "880d391ba9f8b7b2ec36ab9b45a34e9ecbf744e9";
hash = "sha256-aFwGZJceh1jEP8cEajY5wYlSaFuNhYvSoZ/E1QDfJEI=";
fetchSubmodules = true;
};
nativeBuildInputs = [
qmake
wrapQtAppsHook
pkg-config
];
buildInputs = [
libarchive
libpng
];
qmakeFlags = [
"gui/qt"
];
meta = with lib; {
description = "Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features";
mainProgram = "CEmu";
homepage = "https://ce-programming.github.io/CEmu";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ luc65r ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
broken = stdenv.isDarwin;
};
}