1 { lib, stdenv, fetchFromGitHub, diffutils, gd, pkg-config }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "0y3crfm0jqprgxamlly713cka2x1bp6z63p1lw9wh4wc37kpira6";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ diffutils gd ];
16 installFlags = [ "prefix=" "DESTDIR=$(out)" ];
19 homepage = "https://github.com/dbohdan/s2png/";
20 description = "Store any data in PNG images";
21 license = lib.licenses.gpl2Plus;
22 maintainers = [ lib.maintainers.dbohdan ];
23 platforms = lib.platforms.unix;
24 mainProgram = "s2png";