@@ -0,0 +1,29 @@
1+{ stdenv, buildPythonApplication, fetchFromGitHub, ncurses, pillow, pytest }:
2+
3+let
4+ version = "1.25b";
5+in
6+
7+buildPythonApplication {
8+ name = "almonds-${version}";
9+ src = fetchFromGitHub {
10+ owner = "Tenchi2xh";
11+ repo = "Almonds";
12+ rev = version;
13+ sha256 = "0j8d8jizivnfx8lpc4w6sbqj5hq35nfz0vdg7ld80sc5cs7jr3ws";
14+ };
15+
16+ nativeBuildInputs = [ pytest ];
17+ buildInputs = [ ncurses ];
18+ propagatedBuildInputs = [ pillow ];
19+
20+ checkPhase = "py.test";
21+
22+ meta = with stdenv.lib; {
23+ description = "Terminal Mandelbrot fractal viewer";
24+ homepage = https://github.com/Tenchi2xh/Almonds;
25+ # No license has been specified
26+ license = licenses.unfree;
27+ maintainers = with maintainers; [ infinisil ];
28+ };
29+}