nixpkgs/pkgs/misc/emulators/tilem/default.nix

31 lines
807 B
Nix
Raw Normal View History

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