Loading pkgs/development/python-modules/textual-image/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # dependencies rich, # tests pillow, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "textual-image"; version = "0.8.2"; pyproject = true; src = fetchFromGitHub { owner = "lnqs"; repo = "textual-image"; tag = "v${version}"; hash = "sha256-ik/zvnxXN5u2jXHfsGsCLnymZZ+IQiixagOJdEMRDlw="; }; buildInputs = [ setuptools ]; dependencies = [ pillow rich ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "textual_image" ]; doCheck = false; # tests require [syrupy](https://github.com/syrupy-project/syrupy) meta = { description = "Render images in the terminal with Textual and rich"; homepage = "https://github.com/lnqs/textual-image/"; changelog = "https://github.com/lnqs/textual-image/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.lgpl3; maintainers = with lib.maintainers; [ gaelj ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -17086,6 +17086,8 @@ self: super: with self; { textual-fastdatatable = callPackage ../development/python-modules/textual-fastdatatable { }; textual-image = callPackage ../development/python-modules/textual-image { }; textual-serve = callPackage ../development/python-modules/textual-serve { }; textual-slider = callPackage ../development/python-modules/textual-slider { }; Loading
pkgs/development/python-modules/textual-image/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # dependencies rich, # tests pillow, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "textual-image"; version = "0.8.2"; pyproject = true; src = fetchFromGitHub { owner = "lnqs"; repo = "textual-image"; tag = "v${version}"; hash = "sha256-ik/zvnxXN5u2jXHfsGsCLnymZZ+IQiixagOJdEMRDlw="; }; buildInputs = [ setuptools ]; dependencies = [ pillow rich ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "textual_image" ]; doCheck = false; # tests require [syrupy](https://github.com/syrupy-project/syrupy) meta = { description = "Render images in the terminal with Textual and rich"; homepage = "https://github.com/lnqs/textual-image/"; changelog = "https://github.com/lnqs/textual-image/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.lgpl3; maintainers = with lib.maintainers; [ gaelj ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -17086,6 +17086,8 @@ self: super: with self; { textual-fastdatatable = callPackage ../development/python-modules/textual-fastdatatable { }; textual-image = callPackage ../development/python-modules/textual-image { }; textual-serve = callPackage ../development/python-modules/textual-serve { }; textual-slider = callPackage ../development/python-modules/textual-slider { };