mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
28 lines
679 B
Nix
28 lines
679 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 = with maintainers; [ infinisil ];
|
|
};
|
|
}
|