about summary refs log tree commit diff
path: root/pkgs/misc/emulators
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-25 01:11:50 +0100
committerGitHub <noreply@github.com>2021-01-25 01:11:50 +0100
commita36bf6faf96ed8e0f5f540c8a313b8d1284b9599 (patch)
tree9ac162662fba38152fa35a120df57c8aba6cddda /pkgs/misc/emulators
parent67f544e68a8c357d9e551929bd0f28f6584ec613 (diff)
parent1900b6e2d70545cd7f86254e486e2063e2b5644c (diff)
downloadnixlib-a36bf6faf96ed8e0f5f540c8a313b8d1284b9599.tar
nixlib-a36bf6faf96ed8e0f5f540c8a313b8d1284b9599.tar.gz
nixlib-a36bf6faf96ed8e0f5f540c8a313b8d1284b9599.tar.bz2
nixlib-a36bf6faf96ed8e0f5f540c8a313b8d1284b9599.tar.lz
nixlib-a36bf6faf96ed8e0f5f540c8a313b8d1284b9599.tar.xz
nixlib-a36bf6faf96ed8e0f5f540c8a313b8d1284b9599.tar.zst
nixlib-a36bf6faf96ed8e0f5f540c8a313b8d1284b9599.zip
Merge pull request #101796 from luc65r/pkg/tilp2
Diffstat (limited to 'pkgs/misc/emulators')
-rw-r--r--pkgs/misc/emulators/tilem/default.nix60
1 files changed, 6 insertions, 54 deletions
diff --git a/pkgs/misc/emulators/tilem/default.nix b/pkgs/misc/emulators/tilem/default.nix
index 2e96dc03d144..d2252563d0a5 100644
--- a/pkgs/misc/emulators/tilem/default.nix
+++ b/pkgs/misc/emulators/tilem/default.nix
@@ -1,63 +1,15 @@
 { stdenv
 , fetchurl
 , lib
-, libarchive
-, autoreconfHook
 , pkg-config
 , glib
-, libusb1
-, darwin
-, acl
-, lzma
-, bzip2
 , gnome2
+, libticonv
+, libtifiles2
+, libticables2
+, libticalcs2
 }:
-let
-  libticonv = stdenv.mkDerivation rec {
-    pname = "libticonv";
-    version = "1.1.5";
-    src = fetchurl {
-      url = "mirror://sourceforge/tilp/${pname}-${version}.tar.bz2";
-      sha256 = "0y080v12bm81wgjm6fnw7q0yg7scphm8hhrls9njcszj7fkscv9i";
-    };
-    nativeBuildInputs = [ autoreconfHook pkg-config ];
-    buildInputs = [ glib ];
-    configureFlags = [ "--enable-iconv" ];
-  };
-  libticables2 = stdenv.mkDerivation rec {
-    pname = "libticables2";
-    version = "1.3.5";
-    src = fetchurl {
-      url = "mirror://sourceforge/tilp/${pname}-${version}.tar.bz2";
-      sha256 = "08j5di0cgix9vcpdv7b8xhxdjkk9zz7fqfnv3l4apk3jdr8vcvqc";
-    };
-    nativeBuildInputs = [ autoreconfHook pkg-config ];
-    buildInputs = [ glib libusb1 ];
-    configureFlags = [ "--enable-libusb10" ];
-  };
-  libticalcs2 = stdenv.mkDerivation rec {
-    pname = "libticalcs2";
-    version = "1.1.9";
-    src = fetchurl {
-      url = "mirror://sourceforge/tilp/${pname}-${version}.tar.bz2";
-      sha256 = "08c9wgrdnyqcs45mx1bjb8riqq81bzfkhgaijxzn96rhpj40fy3n";
-    };
-    nativeBuildInputs = [ autoreconfHook pkg-config ];
-    buildInputs = [ glib libticables2 libticonv libtifiles2 lzma bzip2 ]
-      ++ lib.optionals stdenv.isLinux [ acl ]
-      ++ lib.optionals stdenv.isDarwin [ darwin.libobjc ];
-  };
-  libtifiles2 = stdenv.mkDerivation rec {
-    pname = "libtifiles2";
-    version = "1.1.7";
-    src = fetchurl {
-      url = "mirror://sourceforge/tilp/${pname}-${version}.tar.bz2";
-      sha256 = "10n9mhlabmaw3ha5ckllxfy6fygs2pmlmj5v6w5v62bvx54kpils";
-    };
-    nativeBuildInputs = [ autoreconfHook pkg-config ];
-    buildInputs = [ glib libticonv libarchive lzma bzip2 ];
-  };
-in
+
 stdenv.mkDerivation rec {
   pname = "tilem";
   version = "2.0";
@@ -72,7 +24,7 @@ stdenv.mkDerivation rec {
     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 ];
+    maintainers = with maintainers; [ siraben luc65r ];
     platforms = platforms.linux ++ platforms.darwin;
   };
 }