mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 02:53:55 +00:00
python310Packages.rich-pixels: init at 2.1.1
https://github.com/darrenburns/rich-pixels
This commit is contained in:
parent
a925e0c4ab
commit
4f75e467df
51
pkgs/development/python-modules/rich-pixels/default.nix
Normal file
51
pkgs/development/python-modules/rich-pixels/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, syrupy
|
||||
, pillow
|
||||
, rich
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rich-pixels";
|
||||
version = "2.1.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darrenburns";
|
||||
repo = "rich-pixels";
|
||||
rev = version;
|
||||
hash = "sha256-zI6jtEdmBAEGxyASo/6fiHdzwzoSwXN7A5x1CmYS5qc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
syrupy
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pillow
|
||||
rich
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "rich_pixels" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Rich-compatible library for writing pixel images and ASCII art to the terminal";
|
||||
homepage = "https://github.com/darrenburns/rich-pixels";
|
||||
changelog = "https://github.com/darrenburns/rich-pixels/releases/tag/${src.rev}";
|
||||
# upstream has no license specified
|
||||
# https://github.com/darrenburns/rich-pixels/issues/11
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
@ -10577,6 +10577,8 @@ self: super: with self; {
|
||||
|
||||
rich-click = callPackage ../development/python-modules/rich-click { };
|
||||
|
||||
rich-pixels = callPackage ../development/python-modules/rich-pixels { };
|
||||
|
||||
rich-rst = callPackage ../development/python-modules/rich-rst { };
|
||||
|
||||
ring-doorbell = callPackage ../development/python-modules/ring-doorbell { };
|
||||
|
Loading…
Reference in New Issue
Block a user