27 lines
702 B
Nix
27 lines
702 B
Nix
|
{stdenv, fetchFromGitHub, libpng, libjpeg, giflib, libxslt, pkg-config}:
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
pname = "metapixel";
|
||
|
version = "1.0.2";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "schani";
|
||
|
repo = "metapixel";
|
||
|
rev = "98ee9daa093b6c334941242e63f90b1c2876eb4f";
|
||
|
fetchSubmodules = true;
|
||
|
sha256 = "0r7n3a6bvcxkbpda4mwmrpicii09iql5z69nkjqygkwxw7ny3309";
|
||
|
};
|
||
|
|
||
|
patches = [ ./no-docbook.patch ];
|
||
|
|
||
|
nativeBuildInputs = [ libxslt pkg-config ];
|
||
|
buildInputs = [ libpng libjpeg giflib ];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
homepage = "https://github.com/schani/metapixel";
|
||
|
description = "Tool for generating photomosaics";
|
||
|
license = licenses.gpl2;
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|