Commit 5727cac Jorik
committed
1 parent 9305c76 commit 5727cac Copy full SHA for 5727cac
File tree 1 file changed +53
-0
lines changed
1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments