tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
teapot: refactor package definitions
Guy Chronister
7 months ago
72d3be4a
bc36e847
+10
-10
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
te
teapot
package.nix
+10
-10
pkgs/by-name/te/teapot/package.nix
···
7
7
ncurses,
8
8
}:
9
9
10
10
-
stdenv.mkDerivation rec {
10
10
+
stdenv.mkDerivation (finalAttrs: {
11
11
pname = "teapot";
12
12
version = "2.3.0";
13
13
14
14
src = fetchFromGitHub {
15
15
-
name = "${pname}-${version}";
16
15
owner = "museoa";
17
17
-
repo = pname;
18
18
-
rev = version;
16
16
+
repo = "teapot";
17
17
+
tag = finalAttrs.version;
19
18
hash = "sha256-38XFjRzOGasr030f+mRYT+ptlabpnVJfa+1s7ZAjS+k=";
20
19
};
21
20
···
47
46
"-DENABLE_HELP=OFF"
48
47
];
49
48
50
50
-
meta = with lib; {
51
51
-
inherit (src.meta) homepage;
49
49
+
meta = {
52
50
description = "Table Editor And Planner, Or: Teapot";
53
51
longDescription = ''
54
52
Teapot is a compact spreadsheet software originally written by Michael
···
71
69
spreadsheets still inherit from the days of VisiCalc on ancient CP/M
72
70
systems.
73
71
'';
74
74
-
license = licenses.gpl3Plus;
75
75
-
maintainers = with maintainers; [ ];
76
76
-
platforms = platforms.unix;
72
72
+
license = lib.licenses.gpl3Plus;
73
73
+
maintainers = with lib.maintainers; [ ];
74
74
+
platforms = lib.platforms.unix;
77
75
mainProgram = "teapot";
76
76
+
homepage = "https://github.com/museoa/teapot";
77
77
+
changelog = "https://github.com/museoa/teapot/releases/tag/${finalAttrs.version}";
78
78
};
79
79
-
}
79
79
+
})
80
80
# TODO: patch/fix FLTK building
81
81
# TODO: add documentation