nixpkgs-suyu/pkgs/applications/science/math/cemu/default.nix

54 lines
1,008 B
Nix
Raw Normal View History

2020-02-09 23:17:07 +01:00
{ fetchFromGitHub
, lib
2020-02-09 23:17:07 +01:00
, mkDerivation
, SDL2
, libGL
, libarchive
2020-04-28 05:29:39 +02:00
, libusb-compat-0_1
2020-02-09 23:17:07 +01:00
, qtbase
, qmake
, git
, libpng_apng
, pkg-config
2020-02-09 23:17:07 +01:00
}:
mkDerivation rec {
pname = "CEmu";
version = "1.3";
src = fetchFromGitHub {
owner = "CE-Programming";
repo = "CEmu";
rev = "v${version}";
sha256 = "1wcdnzcqscawj6jfdj5wwmw9g9vsd6a1rx0rrramakxzf8b7g47r";
fetchSubmodules = true;
};
nativeBuildInputs = [
qmake
git
pkg-config
2020-02-09 23:17:07 +01:00
];
buildInputs = [
SDL2
libGL
libarchive
2020-04-28 05:29:39 +02:00
libusb-compat-0_1
2020-02-09 23:17:07 +01:00
qtbase
libpng_apng
];
qmakeFlags = [
"gui/qt"
];
meta = with lib; {
2020-02-09 23:17:07 +01:00
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" ];
};
}