Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 libpng12,
5 fetchFromGitHub,
6}:
7
8stdenv.mkDerivation {
9 pname = "pngtools";
10 version = "0-unstable-2022-03-14";
11
12 src = fetchFromGitHub {
13 owner = "mikalstill";
14 repo = "pngtools";
15 rev = "1ccca3a0f3f6882661bbafbfb62feb774ca195d1";
16 sha256 = "sha256-W1XofOVTyfA7IbxOnTkWdOOZ00gZ4e0GOYl7nMtLIJk=";
17 };
18
19 buildInputs = [ libpng12 ];
20
21 meta = with lib; {
22 homepage = "https://github.com/mikalstill/pngtools";
23 description = "PNG manipulation tools";
24 maintainers = with maintainers; [ zendo ];
25 license = licenses.gpl2Only;
26 platforms = platforms.all;
27 };
28}