diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/science/math/almonds/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/science/math/almonds/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/math/almonds/default.nix b/nixpkgs/pkgs/applications/science/math/almonds/default.nix new file mode 100644 index 000000000000..9edb0747b31e --- /dev/null +++ b/nixpkgs/pkgs/applications/science/math/almonds/default.nix @@ -0,0 +1,26 @@ +{ 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 ]; + }; +} |