teapot: use Museoa as backup

The original site is now dead, so I took the liberty of getting the sources and
backup it on my personal data hoarder project.
main
AndersonTorres 2 years ago
parent 09675d874b
commit b8985bb965
  1. 20
      pkgs/applications/office/teapot/default.nix

@ -1,6 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchzip , fetchFromGitHub
, cmake , cmake
, libtirpc , libtirpc
, ncurses , ncurses
@ -10,12 +10,18 @@ stdenv.mkDerivation rec {
pname = "teapot"; pname = "teapot";
version = "2.3.0"; version = "2.3.0";
src = fetchzip { src = fetchFromGitHub {
name = "${pname}-${version}"; name = "${pname}-${version}";
url = "https://www.syntax-k.de/projekte/teapot/${pname}-${version}.tar.gz"; owner = "museoa";
sha256 = "sha256-wzAwZwOMeTsuR5LhfjspGdejT6X1V8YJ8B7v9pcbxaY="; repo = pname;
rev = version;
hash = "sha256-38XFjRzOGasr030f+mRYT+ptlabpnVJfa+1s7ZAjS+k=";
}; };
prePatch = ''
cd src
'';
patches = [ patches = [
# include a local file in order to make cc happy # include a local file in order to make cc happy
./001-fix-warning.patch ./001-fix-warning.patch
@ -41,8 +47,8 @@ stdenv.mkDerivation rec {
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://www.syntax-k.de/projekte/teapot/"; inherit (src.meta) homepage;
description = "Table Editor And Planner, Or: Teapot!"; description = "Table Editor And Planner, Or: Teapot";
longDescription = '' longDescription = ''
Teapot is a compact spreadsheet software originally written by Michael Teapot is a compact spreadsheet software originally written by Michael
Haardt. It features a (n)curses-based text terminal interface, and Haardt. It features a (n)curses-based text terminal interface, and
@ -70,4 +76,4 @@ stdenv.mkDerivation rec {
}; };
} }
# TODO: patch/fix FLTK building # TODO: patch/fix FLTK building
# TODO: add documentation from # TODO: add documentation

Loading…
Cancel
Save