Commit 9a5b491b authored by Anders Kaseorg's avatar Anders Kaseorg
Browse files

python3Packages.textual-plotext: init at 1.0.1



Signed-off-by: default avatarAnders Kaseorg <andersk@mit.edu>
parent e6eae2ee
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchPypi,
  lib,
  plotext,
  poetry-core,
  textual,
}:

buildPythonPackage rec {
  pname = "textual-plotext";
  version = "1.0.1";
  pyproject = true;

  # GitHub is missing tags: https://github.com/Textualize/textual-plotext/issues/18
  src = fetchPypi {
    pname = "textual_plotext";
    inherit version;
    hash = "sha256-g29TozFnVmCeGUEpo1wodWOOeVjCYfVB4KeU98mAEb4=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    plotext
    textual
  ];

  pythonImportsCheck = [ "textual_plotext" ];

  meta = {
    description = "Textual widget wrapper for the Plotext plotting library";
    homepage = "https://github.com/Textualize/textual-plotext";
    changelog = "https://github.com/Textualize/textual-plotext/blob/main/ChangeLog.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ andersk ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18916,6 +18916,8 @@ self: super: with self; {
  textual-image = callPackage ../development/python-modules/textual-image { };
  textual-plotext = callPackage ../development/python-modules/textual-plotext { };
  textual-serve = callPackage ../development/python-modules/textual-serve { };
  textual-slider = callPackage ../development/python-modules/textual-slider { };