2021-01-25 08:26:54 +00:00
|
|
|
{ lib, python3, fetchFromGitHub, ncurses }:
|
2018-01-22 22:40:06 +00:00
|
|
|
|
2018-08-03 17:04:46 +01:00
|
|
|
with python3.pkgs; buildPythonApplication rec {
|
|
|
|
pname = "almonds";
|
2018-01-22 22:40:06 +00:00
|
|
|
version = "1.25b";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tenchi2xh";
|
|
|
|
repo = "Almonds";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0j8d8jizivnfx8lpc4w6sbqj5hq35nfz0vdg7ld80sc5cs7jr3ws";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pytest ];
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
propagatedBuildInputs = [ pillow ];
|
|
|
|
|
|
|
|
checkPhase = "py.test";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-22 22:40:06 +00:00
|
|
|
description = "Terminal Mandelbrot fractal viewer";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Tenchi2xh/Almonds";
|
2018-09-09 01:04:34 +01:00
|
|
|
license = licenses.mit;
|
2018-01-22 22:40:06 +00:00
|
|
|
maintainers = with maintainers; [ infinisil ];
|
|
|
|
};
|
|
|
|
}
|