2021-01-17 10:17:16 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, diffutils, gd, pkg-config }:
|
2018-05-18 16:10:00 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "s2png";
|
2018-05-18 16:10:00 +02:00
|
|
|
version = "0.7.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dbohdan";
|
|
|
|
repo = "s2png";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0y3crfm0jqprgxamlly713cka2x1bp6z63p1lw9wh4wc37kpira6";
|
|
|
|
};
|
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
buildInputs = [ diffutils gd pkg-config ];
|
2018-05-18 16:10:00 +02:00
|
|
|
installFlags = [ "prefix=" "DESTDIR=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/dbohdan/s2png/";
|
2018-05-18 16:10:00 +02:00
|
|
|
description = "Store any data in PNG images";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.dbohdan ];
|
|
|
|
platforms = lib.platforms.unix;
|
2018-05-18 16:10:00 +02:00
|
|
|
};
|
|
|
|
}
|