2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, diffutils, gd, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "s2png";
|
|
|
|
version = "0.7.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dbohdan";
|
|
|
|
repo = "s2png";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0y3crfm0jqprgxamlly713cka2x1bp6z63p1lw9wh4wc37kpira6";
|
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ diffutils gd ];
|
2020-04-24 23:36:52 +00:00
|
|
|
installFlags = [ "prefix=" "DESTDIR=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/dbohdan/s2png/";
|
|
|
|
description = "Store any data in PNG images";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.dbohdan ];
|
|
|
|
platforms = lib.platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "s2png";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|