···1{ lib
2, stdenv
3-, fetchzip
4, cmake
5, libtirpc
6, ncurses
···10 pname = "teapot";
11 version = "2.3.0";
1213- src = fetchzip {
14 name = "${pname}-${version}";
15- url = "https://www.syntax-k.de/projekte/teapot/${pname}-${version}.tar.gz";
16- sha256 = "sha256-wzAwZwOMeTsuR5LhfjspGdejT6X1V8YJ8B7v9pcbxaY=";
0017 };
18000019 patches = [
20 # include a local file in order to make cc happy
21 ./001-fix-warning.patch
···41 ];
4243 meta = with lib; {
44- homepage = "https://www.syntax-k.de/projekte/teapot/";
45- description = "Table Editor And Planner, Or: Teapot!";
46 longDescription = ''
47 Teapot is a compact spreadsheet software originally written by Michael
48 Haardt. It features a (n)curses-based text terminal interface, and
···70 };
71}
72# TODO: patch/fix FLTK building
73-# TODO: add documentation from
···1{ lib
2, stdenv
3+, fetchFromGitHub
4, cmake
5, libtirpc
6, ncurses
···10 pname = "teapot";
11 version = "2.3.0";
1213+ src = fetchFromGitHub {
14 name = "${pname}-${version}";
15+ owner = "museoa";
16+ repo = pname;
17+ rev = version;
18+ hash = "sha256-38XFjRzOGasr030f+mRYT+ptlabpnVJfa+1s7ZAjS+k=";
19 };
2021+ prePatch = ''
22+ cd src
23+ '';
24+25 patches = [
26 # include a local file in order to make cc happy
27 ./001-fix-warning.patch
···47 ];
4849 meta = with lib; {
50+ inherit (src.meta) homepage;
51+ description = "Table Editor And Planner, Or: Teapot";
52 longDescription = ''
53 Teapot is a compact spreadsheet software originally written by Michael
54 Haardt. It features a (n)curses-based text terminal interface, and
···76 };
77}
78# TODO: patch/fix FLTK building
79+# TODO: add documentation