nixconf/packages/tilp/default.nix

57 lines
924 B
Nix
Raw Normal View History

2024-05-22 06:18:16 +00:00
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, autoreconfHook
, glib
, libticonv
, libtifiles2
, libticables2
, libticalcs2
, xz
, bzip2
, gtk2
, acl
, intltool
}:
stdenv.mkDerivation rec {
pname = "tilp";
version = "1.18";
src = fetchFromGitHub {
owner = "debrouxl";
repo = "tilp_and_gfm";
rev = version;
sha256 = "sha256-/XkxEfWzJiOkM5aoenp/GQSkkNg9qoXkFtcj/nenFEw=";
};
sourceRoot = "${src.name}/tilp/trunk";
nativeBuildInputs = [
autoreconfHook
intltool
pkg-config
];
buildInputs = [
glib
libticonv
libtifiles2
libticables2
libticalcs2
xz
bzip2
gtk2
acl
];
meta = with lib; {
changelog = "http://lpg.ticalc.org/prj_tilp/news.html";
description = "This library is part of the TiLP framework";
homepage = "http://lpg.ticalc.org/prj_tilp/";
license = licenses.gpl2Plus;
platforms = with platforms; linux;
};
}