{ lib, python3, fetchFromGitHub, ncurses, }: python3.pkgs.buildPythonApplication rec { pname = "almonds"; version = "1.25b"; format = "pyproject"; src = fetchFromGitHub { owner = "Tenchi2xh"; repo = "Almonds"; tag = version; sha256 = "0j8d8jizivnfx8lpc4w6sbqj5hq35nfz0vdg7ld80sc5cs7jr3ws"; }; build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ pillow ]; buildInputs = [ ncurses ]; nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; meta = with lib; { description = "Terminal Mandelbrot fractal viewer"; mainProgram = "almonds"; homepage = "https://github.com/Tenchi2xh/Almonds"; license = licenses.mit; maintainers = [ ]; }; }