From 1508c6ea45554bc049606a80e7b2d7f83303d940 Mon Sep 17 00:00:00 2001 From: Sam Connelly Date: Thu, 28 Nov 2024 14:59:38 -0500 Subject: [PATCH] tilp: init at 1.18 --- pkgs/by-name/ti/tilp/package.nix | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pkgs/by-name/ti/tilp/package.nix diff --git a/pkgs/by-name/ti/tilp/package.nix b/pkgs/by-name/ti/tilp/package.nix new file mode 100644 index 0000000000000..58049dc6e07d8 --- /dev/null +++ b/pkgs/by-name/ti/tilp/package.nix @@ -0,0 +1,44 @@ +{ + libticonv, + libtifiles2, + libticables2, + libticalcs2, + stdenv, + fetchFromGitHub, + autoreconfHook, + gtk2, + intltool, + pkg-config, + lib, +}: +stdenv.mkDerivation (finalAttrs: { + pname = "tilp"; + version = "1.18"; + src = fetchFromGitHub { + owner = "debrouxl"; + repo = "tilp_and_gfm"; + rev = "9fb0fab9e91b5d5a43a1d907197734264b68fc6d"; + hash = "sha256-/XkxEfWzJiOkM5aoenp/GQSkkNg9qoXkFtcj/nenFEw="; + }; + sourceRoot = finalAttrs.src.name + "/tilp/trunk/"; + nativeBuildInputs = [ + autoreconfHook + intltool + pkg-config + ]; + buildInputs = [ + libticonv + libtifiles2 + libticables2 + libticalcs2 + gtk2 + ]; + meta = { + description = "TILP is a program allowing a computer to communicate with TI graphing calculators"; + homepage = "http://lpg.ticalc.org/prj_tilp"; + license = lib.licenses.gpl2Only; + mainProgram = "tilp"; + maintainers = with lib.maintainers; [ clevor ]; + platforms = lib.platforms.unix; + }; +})