summary refs log tree commit diff
path: root/pkgs/applications/graphics/apngasm/default.nix
blob: 8d50696efcbd20c35b6645b531e903bbe466d5c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, cmake, boost, libpng, zlib }:

stdenv.mkDerivation rec {
  pname = "apngasm";
  version = "3.1.9";

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    rev = "d50bfb0cf14c376f4cfb94eb91c61d795a76b715"; # not tagged, but in debian/changelog
    sha256 = "0pk0r8x1950pm6j3d5wgryvy3ldm7a9gl59jmnwnjmg1sf9mzf97";
  };

  nativeBuildInputs = [ cmake ];

  buildInputs = [ boost libpng zlib ];

  meta = with stdenv.lib; {
    description = "Create an APNG from multiple PNG files";
    homepage = "https://github.com/apngasm/apngasm";
    license = licenses.zlib;
    maintainers = with maintainers; [ orivej ];
    platforms = platforms.linux;
  };

}