2020-10-26 21:47:53 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, intltool
|
|
|
|
, glib
|
|
|
|
, gnome2
|
2021-03-16 17:22:15 +00:00
|
|
|
, gtk2
|
2020-10-26 21:47:53 +00:00
|
|
|
, gfm
|
|
|
|
, libticables2
|
|
|
|
, libticalcs2
|
|
|
|
, libticonv
|
|
|
|
, libtifiles2
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tilp2";
|
|
|
|
version = "1.18";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tilp/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "0isf73bjwk06baz2gm3vpdh600gqck9ca4aqxzb089dmxriv6fkv";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = fetchpatch {
|
|
|
|
name = "remove-broken-kde-support.patch";
|
|
|
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/remove-broken-kde-support.patch?h=tilp";
|
|
|
|
sha256 = "1fn6vh7r45spkwpmkvffkbn7zrcsdrs5mjmspd5rwi3jc12cy3ny";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
intltool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
2021-03-16 17:22:15 +00:00
|
|
|
gtk2
|
2020-10-26 21:47:53 +00:00
|
|
|
gnome2.libglade
|
|
|
|
gfm
|
|
|
|
libticables2
|
|
|
|
libticalcs2
|
|
|
|
libticonv
|
|
|
|
libtifiles2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
changelog = "http://lpg.ticalc.org/prj_tilp/news.html";
|
|
|
|
description = "Transfer data between Texas Instruments graphing calculators and a computer";
|
|
|
|
homepage = "http://lpg.ticalc.org/prj_tilp/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ luc65r ];
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|