1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 libjpeg,
6 libpng,
7 libxml2,
8 zlib,
9}:
10
11stdenv.mkDerivation {
12 pname = "flam3";
13 version = "3.1.1+date=2018-04-12";
14
15 src = fetchFromGitHub {
16 owner = "scottdraves";
17 repo = "flam3";
18 rev = "7fb50c82e90e051f00efcc3123d0e06de26594b2";
19 hash = "sha256-cKRfmTcyWY2LyxqojTzxD2wnxu5eh3emHi51bhS3gYg=";
20 };
21
22 buildInputs = [
23 libjpeg
24 libpng
25 libxml2
26 zlib
27 ];
28
29 meta = with lib; {
30 homepage = "https://flam3.com/";
31 description = "Cosmic recursive fractal flames";
32 longDescription = ''
33 Flames are algorithmically generated images and animations. The software
34 was originally written in 1992 and released as open source, aka free
35 software. Over the years it has been greatly expanded, and is now widely
36 used to create art and special effects. The shape and color of each image
37 is specified by a long string of numbers - a genetic code of sorts.
38 '';
39 license = licenses.gpl3Plus;
40 maintainers = with maintainers; [ ];
41 platforms = platforms.unix;
42 };
43}