nixpkgs/pkgs/by-name/ti/tilem/package.nix
Sam Connelly 7c66fb1ec5 migrate maintainership from luc65r to clevor
They said they haven't used Nix in a while and is not interested in
maintaining cemu-ti (presumably other packages too), so I asked to take
over his role. I removed luc65r from the meta.maintainers attribtes, and
adopted the packages I wanted to adopt. I chose to adopt the TI graphing
calculator-related packages as I am part of Cemetech.
2024-11-17 14:30:20 -05:00

32 lines
848 B
Nix

{ 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 clevor ];
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "tilem2";
};
}