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 45d78f1 commit 1351099
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions pkgs/by-name/po/posting/package.nix
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}";
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 1351099

Please sign in to comment.