summary refs log tree commit diff
path: root/pkgs/applications/emulators/tilem/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/emulators/tilem/default.nix')
-rw-r--r--pkgs/applications/emulators/tilem/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/tilem/default.nix b/pkgs/applications/emulators/tilem/default.nix
new file mode 100644
index 00000000000..bde706e2304
--- /dev/null
+++ b/pkgs/applications/emulators/tilem/default.nix
@@ -0,0 +1,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 ];
+  NIX_CFLAGS_COMPILE = [ "-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;
+  };
+}