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