tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rich-cli: fix build
Gaetan Lepage
9 months ago
4e6de406
23ad94e0
+19
-11
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ri
rich-cli
package.nix
+19
-11
pkgs/by-name/ri/rich-cli/package.nix
···
1
1
{
2
2
lib,
3
3
+
python3Packages,
3
4
fetchFromGitHub,
4
5
fetchpatch,
5
5
-
python3,
6
6
+
versionCheckHook,
7
7
+
nix-update-script,
6
8
}:
7
9
8
8
-
python3.pkgs.buildPythonApplication rec {
10
10
+
python3Packages.buildPythonApplication rec {
9
11
pname = "rich-cli";
10
12
version = "1.8.0";
11
13
pyproject = true;
···
32
34
];
33
35
34
36
pythonRelaxDeps = [
37
37
+
"rich"
35
38
"textual"
36
39
];
37
40
38
38
-
build-system = with python3.pkgs; [
41
41
+
build-system = with python3Packages; [
39
42
poetry-core
40
43
];
41
44
42
42
-
nativeBuildInputs = with python3.pkgs; [
43
43
-
];
44
44
-
45
45
-
dependencies = with python3.pkgs; [
45
45
+
dependencies = with python3Packages; [
46
46
click
47
47
requests
48
48
rich
···
50
50
textual
51
51
];
52
52
53
53
-
pythonImportsCheck = [
54
54
-
"rich_cli"
53
53
+
pythonImportsCheck = [ "rich_cli" ];
54
54
+
55
55
+
nativeCheckInputs = [
56
56
+
versionCheckHook
55
57
];
58
58
+
versionCheckProgram = "${placeholder "out"}/bin/rich";
59
59
+
versionCheckProgramArg = "--version";
56
60
57
57
-
meta = with lib; {
61
61
+
passthru = {
62
62
+
updateScript = nix-update-script { };
63
63
+
};
64
64
+
65
65
+
meta = {
58
66
description = "Command Line Interface to Rich";
59
67
homepage = "https://github.com/Textualize/rich-cli";
60
68
changelog = "https://github.com/Textualize/rich-cli/releases/tag/v${version}";
61
61
-
license = licenses.mit;
69
69
+
license = lib.licenses.mit;
62
70
maintainers = [ ];
63
71
mainProgram = "rich";
64
72
};