-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
posting: init at 2.3.0 #353386
base: master
Are you sure you want to change the base?
posting: init at 2.3.0 #353386
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11174,6 +11174,12 @@ | |
github = "jordanisaacs"; | ||
githubId = 19742638; | ||
}; | ||
jorikvanveen = { | ||
email = "[email protected]"; | ||
github = "jorikvanveen"; | ||
githubId = 33939820; | ||
name = "Jorik van Veen"; | ||
}; | ||
jorise = { | ||
email = "[email protected]"; | ||
github = "JorisE"; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
lib, | ||
fetchFromGitHub, | ||
python3Packages, | ||
}: | ||
let | ||
in | ||
python3Packages.buildPythonApplication rec { | ||
pname = "posting"; | ||
version = "2.3.0"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "darrenburns"; | ||
repo = "posting"; | ||
rev = "refs/tags/${version}"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably best to just use |
||
sha256 = "sha256-lL85gJxFw8/e8Js+UCE9VxBMcmWRUkHh8Cq5wTC93KA="; | ||
}; | ||
|
||
pythonRelaxDeps = true; | ||
|
||
nativeBuildInputs = [ python3Packages.hatchling ]; | ||
|
||
dependencies = | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would make sense to put a |
||
[ | ||
python3Packages.click | ||
python3Packages.xdg-base-dirs | ||
python3Packages.click-default-group | ||
python3Packages.pyperclip | ||
python3Packages.pyyaml | ||
python3Packages.python-dotenv | ||
python3Packages.watchfiles | ||
python3Packages.pydantic | ||
python3Packages.pydantic-settings | ||
python3Packages.httpx | ||
python3Packages.textual-autocomplete | ||
python3Packages.textual | ||
] | ||
++ python3Packages.httpx.optional-dependencies.brotli | ||
++ python3Packages.textual.optional-dependencies.syntax; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should probably include |
||
|
||
meta = { | ||
description = "Modern API client that lives in your terminal"; | ||
mainProgram = "posting"; | ||
homepage = "https://posting.sh/"; | ||
license = lib.licenses.asl20; | ||
maintainers = with lib.maintainers; [ jorikvanveen ]; | ||
platforms = lib.platforms.unix; | ||
}; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
lib, | ||
python3, | ||
fetchPypi, | ||
poetry-core, | ||
textual, | ||
typing-extensions, | ||
hatchling, | ||
}: | ||
python3.pkgs.buildPythonPackage rec { | ||
pname = "textual_autocomplete"; | ||
version = "3.0.0a13"; | ||
pyproject = true; | ||
|
||
# Alpha versions of this packages are only available on Pypi for some reason | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The current latest alpha source code is available on the |
||
src = fetchPypi { | ||
inherit pname version; | ||
hash = "sha256-21pK6VbdfW3s5T9/aV6X8qt1gZ3Za4ocBk7Flms6sRM="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
poetry-core | ||
hatchling | ||
]; | ||
|
||
pythonRelaxDeps = true; | ||
|
||
dependencies = [ | ||
textual | ||
typing-extensions | ||
]; | ||
|
||
Aleksanaa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
pythonImportsCheck = [ | ||
"textual" | ||
"typing_extensions" | ||
]; | ||
|
||
meta = { | ||
description = "Python library that provides autocomplete capabilities to textual"; | ||
homepage = "https://pypi.org/project/textual-autocomplete"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ jorikvanveen ]; | ||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty
let in
?