summary refs log tree commit diff
path: root/pkgs/applications/emulators/tilem/default.nix
blob: c9ba0067ee746994bf04d6cca34d2666d5203972 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv
, fetchurl
, lib
, pkg-config
, glib
, gtk2
, libticonv
, libtifiles2
, libticables2
, libticalcs2
}:

stdenv.mkDerivation rec {
  pname = "tilem";
  version = "2.0";
  src = fetchurl {
    url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
    sha256 = "1ba38xzhp3yf21ip3cgql6jzy49jc34sfnjsl4syxyrd81d269zw";
  };
  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ glib gtk2 libticonv libtifiles2 libticables2 libticalcs2 ];
  env.NIX_CFLAGS_COMPILE = toString [ "-lm" ];
  meta = with lib; {
    homepage = "http://lpg.ticalc.org/prj_tilem/";
    description = "Emulator and debugger for Texas Instruments Z80-based graphing calculators";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ siraben luc65r ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}