Skip to content

Commit 0eb2605

Browse files
author
Jorik
committed
posting: init at 2.0.1
1 parent 3fe3b5a commit 0eb2605

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

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

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
python3Packages
5+
}:
6+
python3Packages.buildPythonApplication rec {
7+
pname = "posting";
8+
version = "2.0.1";
9+
pyproject = true;
10+
11+
src = fetchFromGitHub {
12+
owner = "darrenburns";
13+
repo = "posting";
14+
rev = "refs/tags/${version}";
15+
sha256 = "sha256-6KtC5VuG3x07VTenpyDAJr9KO4jdTCFk1u/pSoyYPsc=";
16+
};
17+
18+
pythonRelaxDeps = true;
19+
20+
nativeBuildInputs = [ python3Packages.hatchling ];
21+
22+
dependencies = [
23+
python3Packages.click
24+
python3Packages.xdg-base-dirs
25+
python3Packages.click-default-group
26+
python3Packages.pyperclip
27+
python3Packages.pyyaml
28+
python3Packages.python-dotenv
29+
python3Packages.watchfiles
30+
python3Packages.pydantic
31+
python3Packages.pydantic-settings
32+
python3Packages.httpx
33+
python3Packages.textual
34+
python3Packages.textual-autocomplete
35+
] ++ python3Packages.textual.optional-dependencies.syntax ++ python3Packages.httpx.optional-dependencies.brotli;
36+
37+
meta = {
38+
description = "Modern API client that lives in your terminal";
39+
mainProgram = "posting";
40+
homepage = "https://posting.sh/";
41+
license = lib.licenses.asl20;
42+
maintainers = with lib.maintainers; [ jorikvanveen ];
43+
platforms = lib.platforms.unix;
44+
};
45+
}

0 commit comments

Comments
 (0)