2021-02-05 17:12:51 +00:00
|
|
|
{ lib, python3, fetchFromGitHub, ncurses }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with python3.pkgs; buildPythonApplication rec {
|
|
|
|
pname = "almonds";
|
|
|
|
version = "1.25b";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tenchi2xh";
|
|
|
|
repo = "Almonds";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0j8d8jizivnfx8lpc4w6sbqj5hq35nfz0vdg7ld80sc5cs7jr3ws";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pytest ];
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
propagatedBuildInputs = [ pillow ];
|
|
|
|
|
|
|
|
checkPhase = "py.test";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Terminal Mandelbrot fractal viewer";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "almonds";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/Tenchi2xh/Almonds";
|
|
|
|
license = licenses.mit;
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|