Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

flam3: 3.1.1 -> 3.1.1+date=2018-04-12

+27 -9
+27 -9
pkgs/tools/graphics/flam3/default.nix
··· 1 - {lib, stdenv, fetchFromGitHub, zlib, libpng, libxml2, libjpeg }: 2 3 stdenv.mkDerivation rec { 4 pname = "flam3"; 5 - version = "3.1.1-${lib.strings.substring 0 7 rev}"; 6 - rev = "e0801543538451234d7a8a240ba3b417cbda5b21"; 7 8 src = fetchFromGitHub { 9 - inherit rev; 10 owner = "scottdraves"; 11 repo = pname; 12 - sha256 = "18iyj16k0sn3fs52fj23lj31xi4avlddhbib6kk309576nlxp17w"; 13 }; 14 15 - buildInputs = [ zlib libpng libxml2 libjpeg ]; 16 17 meta = with lib; { 18 - description = "Cosmic recursive fractal flames"; 19 homepage = "https://flam3.com/"; 20 - maintainers = with maintainers; [ ]; 21 - platforms = platforms.linux; 22 license = licenses.gpl3Plus; 23 }; 24 }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , libjpeg 5 + , libpng 6 + , libxml2 7 + , zlib 8 + }: 9 10 stdenv.mkDerivation rec { 11 pname = "flam3"; 12 + version = "3.1.1+date=2018-04-12"; 13 14 src = fetchFromGitHub { 15 owner = "scottdraves"; 16 repo = pname; 17 + rev = "7fb50c82e90e051f00efcc3123d0e06de26594b2"; 18 + hash = "sha256-cKRfmTcyWY2LyxqojTzxD2wnxu5eh3emHi51bhS3gYg="; 19 }; 20 21 + buildInputs = [ 22 + libjpeg 23 + libpng 24 + libxml2 25 + zlib 26 + ]; 27 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.linux; 41 }; 42 }