2020-10-16 20:44:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, lib
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-10-16 20:44:37 +00:00
|
|
|
, glib
|
2021-03-19 17:17:44 +00:00
|
|
|
, gtk2
|
2021-02-05 17:12:51 +00:00
|
|
|
, libticonv
|
|
|
|
, libtifiles2
|
|
|
|
, libticables2
|
|
|
|
, libticalcs2
|
2020-10-16 20:44:37 +00:00
|
|
|
}:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tilem";
|
|
|
|
version = "2.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "1ba38xzhp3yf21ip3cgql6jzy49jc34sfnjsl4syxyrd81d269zw";
|
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-03-19 17:17:44 +00:00
|
|
|
buildInputs = [ glib gtk2 libticonv libtifiles2 libticables2 libticalcs2 ];
|
2020-10-16 20:44:37 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-lm" ];
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-16 20:44:37 +00:00
|
|
|
homepage = "http://lpg.ticalc.org/prj_tilem/";
|
|
|
|
description = "Emulator and debugger for Texas Instruments Z80-based graphing calculators";
|
|
|
|
license = licenses.gpl3Plus;
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = with maintainers; [ siraben luc65r ];
|
2020-10-16 20:44:37 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|