587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
27 lines
651 B
Nix
27 lines
651 B
Nix
{ lib, python3, fetchFromGitHub, ncurses }:
|
|
|
|
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";
|
|
|
|
meta = with lib; {
|
|
description = "Terminal Mandelbrot fractal viewer";
|
|
mainProgram = "almonds";
|
|
homepage = "https://github.com/Tenchi2xh/Almonds";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|