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