depot/third_party/nixpkgs/pkgs/applications/science/math/almonds/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
660 B
Nix

{ stdenv, 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 stdenv.lib; {
description = "Terminal Mandelbrot fractal viewer";
homepage = "https://github.com/Tenchi2xh/Almonds";
license = licenses.mit;
maintainers = with maintainers; [ infinisil ];
};
}