Commit 854860f7 authored by Atemu's avatar Atemu
Browse files

python3Packages.sixel: init at 0.2.0

Practically unmodified from nix-init
parent e3e32b64
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  pillow,
}:

buildPythonPackage rec {
  pname = "python-sixel";
  version = "0.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "lubosz";
    repo = "python-sixel";
    tag = version;
    hash = "sha256-ALNdwuZIMS2oWO42LpjgIpAxcQh4Gk35nCwenINLQ64=";
  };

  build-system = [
    hatchling
  ];

  dependencies = [
    pillow
  ];

  pythonImportsCheck = [
    "sixel"
  ];

  meta = {
    description = "Display images in the terminal";
    homepage = "https://github.com/lubosz/python-sixel";
    changelog = "https://github.com/lubosz/python-sixel/releases/tag/${version}";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ atemu ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -15257,6 +15257,8 @@ self: super: with self; {
  six = callPackage ../development/python-modules/six { };
  sixel = callPackage ../development/python-modules/sixel { };
  sjcl = callPackage ../development/python-modules/sjcl { };
  skein = callPackage ../development/python-modules/skein { };