Skip to content

Commit 4bf98eb

Browse files
authored
posting: init at 2.3.0 (#353386)
2 parents 3793149 + 8fa08cd commit 4bf98eb

File tree

4 files changed

+109
-0
lines changed

4 files changed

+109
-0
lines changed

maintainers/maintainer-list.nix

+6
Original file line numberDiff line numberDiff line change
@@ -11418,6 +11418,12 @@
1141811418
github = "jordanisaacs";
1141911419
githubId = 19742638;
1142011420
};
11421+
jorikvanveen = {
11422+
email = "vanveenjorik@protonmail.com";
11423+
github = "jorikvanveen";
11424+
githubId = 33939820;
11425+
name = "Jorik van Veen";
11426+
};
1142111427
jorise = {
1142211428
email = "info@jorisengbers.nl";
1142311429
github = "JorisE";

pkgs/by-name/po/posting/package.nix

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
python3Packages,
5+
xorg,
6+
}:
7+
python3Packages.buildPythonApplication rec {
8+
pname = "posting";
9+
version = "2.3.0";
10+
pyproject = true;
11+
12+
src = fetchFromGitHub {
13+
owner = "darrenburns";
14+
repo = "posting";
15+
tag = version;
16+
hash = "sha256-lL85gJxFw8/e8Js+UCE9VxBMcmWRUkHh8Cq5wTC93KA=";
17+
};
18+
19+
pythonRelaxDeps = true;
20+
21+
build-system = with python3Packages; [
22+
hatchling
23+
];
24+
25+
# Required for x resources themes
26+
buildInputs = [ xorg.xrdb ];
27+
28+
dependencies =
29+
with python3Packages;
30+
[
31+
click
32+
xdg-base-dirs
33+
click-default-group
34+
pyperclip
35+
pyyaml
36+
python-dotenv
37+
watchfiles
38+
pydantic
39+
pydantic-settings
40+
httpx
41+
textual-autocomplete
42+
textual
43+
]
44+
++ httpx.optional-dependencies.brotli
45+
++ textual.optional-dependencies.syntax;
46+
47+
meta = {
48+
description = "Modern API client that lives in your terminal";
49+
mainProgram = "posting";
50+
homepage = "https://posting.sh/";
51+
changelog = "https://github.com/darrenburns/posting/releases/tag/${version}";
52+
license = lib.licenses.asl20;
53+
maintainers = with lib.maintainers; [ jorikvanveen ];
54+
platforms = lib.platforms.unix;
55+
};
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
lib,
3+
python3,
4+
fetchFromGitHub,
5+
poetry-core,
6+
textual,
7+
typing-extensions,
8+
hatchling,
9+
}:
10+
python3.pkgs.buildPythonPackage rec {
11+
pname = "textual_autocomplete";
12+
version = "3.0.0a13";
13+
pyproject = true;
14+
15+
src = fetchFromGitHub {
16+
owner = "darrenburns";
17+
repo = "textual-autocomplete";
18+
rev = "2cb572bf5b1ea0554b396d0833dfb398cb45dc9b";
19+
hash = "sha256-jfGYC3xDspwEr+KGApGB05VFuzluDe5S9a/Sjg5HtdI=";
20+
};
21+
22+
nativeBuildInputs = [
23+
poetry-core
24+
hatchling
25+
];
26+
27+
pythonRelaxDeps = true;
28+
29+
dependencies = [
30+
textual
31+
typing-extensions
32+
];
33+
34+
pythonImportsCheck = [
35+
"textual"
36+
"typing_extensions"
37+
];
38+
39+
meta = {
40+
description = "Python library that provides autocomplete capabilities to textual";
41+
homepage = "https://pypi.org/project/textual-autocomplete";
42+
license = lib.licenses.mit;
43+
maintainers = with lib.maintainers; [ jorikvanveen ];
44+
};
45+
}

pkgs/top-level/python-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -16245,6 +16245,8 @@ self: super: with self; {
1624516245

1624616246
textual = callPackage ../development/python-modules/textual { };
1624716247

16248+
textual-autocomplete = callPackage ../development/python-modules/textual-autocomplete { };
16249+
1624816250
textual-dev = callPackage ../development/python-modules/textual-dev { };
1624916251

1625016252
textual-fastdatatable = callPackage ../development/python-modules/textual-fastdatatable { };

0 commit comments

Comments
 (0)