nixpkgs-suyu/pkgs/applications/science/math/cemu/default.nix
ajs124 6324abc93e libpng_apng: drop
It's been the same as libpng since 8164d28, because
`libpng_apng = libpng.override { apngSupport = true; };`, but `apngSupport ? true`
2022-03-23 03:20:11 +01:00

57 lines
1.1 KiB
Nix

{ fetchFromGitHub
, lib
, SDL2
, libGL
, libarchive
, libusb-compat-0_1
, qtbase
, qmake
, git
, libpng
, pkg-config
, wrapQtAppsHook
, stdenv
}:
stdenv.mkDerivation rec {
pname = "CEmu";
version = "1.3";
src = fetchFromGitHub {
owner = "CE-Programming";
repo = "CEmu";
rev = "v${version}";
sha256 = "1wcdnzcqscawj6jfdj5wwmw9g9vsd6a1rx0rrramakxzf8b7g47r";
fetchSubmodules = true;
};
nativeBuildInputs = [
qmake
git
wrapQtAppsHook
pkg-config
];
buildInputs = [
SDL2
libGL
libarchive
libusb-compat-0_1
qtbase
libpng
];
qmakeFlags = [
"gui/qt"
"CONFIG+=ltcg"
];
meta = with lib; {
changelog = "https://github.com/CE-Programming/CEmu/releases/tag/v${version}";
description = "Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features";
homepage = "https://ce-programming.github.io/CEmu";
license = licenses.gpl3;
maintainers = with maintainers; [ luc65r ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
broken = stdenv.isDarwin;
};
}