Skip to content

Commit 5727cac

Browse files
author
Jorik
committed
posting: init at 2.3.0
1 parent 9305c76 commit 5727cac

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

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

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
sha256 = "sha256-lL85gJxFw8/e8Js+UCE9VxBMcmWRUkHh8Cq5wTC93KA=";
17+
};
18+
19+
pythonRelaxDeps = true;
20+
21+
nativeBuildInputs = [ python3Packages.hatchling ];
22+
23+
# Required for x resources themes
24+
buildInputs = [ xorg.xrdb ];
25+
26+
dependencies =
27+
with python3Packages;
28+
[
29+
click
30+
xdg-base-dirs
31+
click-default-group
32+
pyperclip
33+
pyyaml
34+
python-dotenv
35+
watchfiles
36+
pydantic
37+
pydantic-settings
38+
httpx
39+
textual-autocomplete
40+
textual
41+
]
42+
++ httpx.optional-dependencies.brotli
43+
++ textual.optional-dependencies.syntax;
44+
45+
meta = {
46+
description = "Modern API client that lives in your terminal";
47+
mainProgram = "posting";
48+
homepage = "https://posting.sh/";
49+
license = lib.licenses.asl20;
50+
maintainers = with lib.maintainers; [ jorikvanveen ];
51+
platforms = lib.platforms.unix;
52+
};
53+
}

0 commit comments

Comments
 (0)