12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
19 rev = "98ee9daa093b6c334941242e63f90b1c2876eb4f";
20 fetchSubmodules = true;
21 sha256 = "0r7n3a6bvcxkbpda4mwmrpicii09iql5z69nkjqygkwxw7ny3309";
24 makeFlags = [ "metapixel" ];
26 nativeBuildInputs = [ pkg-config ];
36 cp metapixel $out/bin/metapixel
37 cp metapixel-prepare $out/bin/metapixel-prepare
38 cp metapixel-sizesort $out/bin/metapixel-sizesort
42 homepage = "https://github.com/schani/metapixel";
43 description = "Tool for generating photomosaics";
44 license = licenses.gpl2Only;
45 maintainers = with maintainers; [ dandellion ];