aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/graphics/flam3/default.nix
blob: 0f1bf80655144aa7eccc2ac16e9964271a7f1b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{stdenv, fetchFromGitHub, zlib, libpng, libxml2, libjpeg }:

stdenv.mkDerivation rec {
  pname = "flam3";
  version = "3.1.1-${stdenv.lib.strings.substring 0 7 rev}";
  rev = "e0801543538451234d7a8a240ba3b417cbda5b21";

  src = fetchFromGitHub {
    inherit rev;
    owner = "scottdraves";
    repo = pname;
    sha256 = "18iyj16k0sn3fs52fj23lj31xi4avlddhbib6kk309576nlxp17w";
  };

  buildInputs = [ zlib libpng libxml2 libjpeg ];

  meta = with stdenv.lib; {
    description = "Cosmic recursive fractal flames";
    homepage = "https://flam3.com/";
    maintainers = [ maintainers.nand0p ];
    platforms = platforms.linux;
    license = licenses.cc-by-nc-sa-20;
  };
}