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