Skip to content

Commit

Permalink
posting: init at 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorik committed Nov 9, 2024
1 parent 53f065a commit 5b5b4b1
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions pkgs/by-name/po/posting/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
lib,
fetchFromGitHub,
python3,
}:
let
py-pkgs = python3.pkgs;
in
py-pkgs.buildPythonApplication rec {
pname = "posting";
version = "2.0.1";
pyproject = true;

src = fetchFromGitHub {
owner = "darrenburns";
repo = "posting";
rev = "refs/tags/${version}";
sha256 = "sha256-6KtC5VuG3x07VTenpyDAJr9KO4jdTCFk1u/pSoyYPsc=";
};

pythonRelaxDeps = true;

nativeBuildInputs = [ py-pkgs.hatchling ];

dependencies = [
py-pkgs.click
py-pkgs.xdg-base-dirs
py-pkgs.click-default-group
py-pkgs.pyperclip
py-pkgs.pyyaml
py-pkgs.python-dotenv
py-pkgs.watchfiles
py-pkgs.pydantic
py-pkgs.pydantic-settings
py-pkgs.httpx
py-pkgs.textual
py-pkgs.textual-autocomplete
] ++ py-pkgs.textual.optional-dependencies.syntax ++ py-pkgs.httpx.optional-dependencies.brotli;

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 5b5b4b1

Please sign in to comment.