Skip to content

Commit

Permalink
posting: init at 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorik committed Jan 6, 2025
1 parent 18df78f commit 3490d29
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions pkgs/by-name/po/posting/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
lib,
fetchFromGitHub,
python3Packages,
}: let
#textual = python3Packages.textual.overrideAttrs rec {
# version = "0.86.2";

# src = fetchFromGitHub {
# owner = "Textualize";
# repo = "textual";
# tag = "v${version}";
# hash = "sha256-cQYBa1vba/fuv/j0D/MNUboQNTc913UG4dp8a1EPql4=";
# };
#};
in python3Packages.buildPythonApplication rec {
pname = "posting";
version = "2.3.0";
pyproject = true;

src = fetchFromGitHub {
owner = "darrenburns";
repo = "posting";
rev = "refs/tags/${version}";
sha256 = "sha256-lL85gJxFw8/e8Js+UCE9VxBMcmWRUkHh8Cq5wTC93KA=";
};

pythonRelaxDeps = true;

nativeBuildInputs = [ python3Packages.hatchling ];

dependencies =
[
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;

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;
};
}

0 comments on commit 3490d29

Please sign in to comment.