about summary refs log tree commit diff
path: root/pkgs/tools/graphics/pngtools/default.nix
blob: 563c8af50ae8c34dd321f8b349ac40040bc70138 (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
{ lib, stdenv, libpng12, fetchFromGitHub }:

stdenv.mkDerivation {
  pname = "pngtools";
  version = "unstable-2022-03-14";

  src = fetchFromGitHub {
    owner = "mikalstill";
    repo = "pngtools";
    rev = "1ccca3a0f3f6882661bbafbfb62feb774ca195d1";
    sha256 = "sha256-W1XofOVTyfA7IbxOnTkWdOOZ00gZ4e0GOYl7nMtLIJk=";
  };

  buildInputs = [ libpng12 ];

  meta = with lib; {
    homepage = "https://github.com/mikalstill/pngtools";
    description = "PNG manipulation tools";
    maintainers = with maintainers; [ zendo ];
    license = licenses.gpl2Only;
    platforms = platforms.all;
  };
}