1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-RdOfog5FOw5XESyDFX68Lb2MUyCeUuPaq/0UVNTjNKo=";
15 install -dm 755 $out/include/CImg/plugins $doc/share/doc/cimg/examples
17 install -m 644 CImg.h $out/include/
18 cp -dr --no-preserve=ownership examples/* $doc/share/doc/cimg/examples/
19 cp -dr --no-preserve=ownership plugins/* $out/include/CImg/plugins/
20 cp README.txt $doc/share/doc/cimg/
23 outputs = [ "out" "doc" ];
26 description = "A small, open source, C++ toolkit for image processing";
28 CImg stands for Cool Image. It is easy to use, efficient and is intended
29 to be a very pleasant toolbox to design image processing algorithms in
30 C++. Due to its generic conception, it can cover a wide range of image
31 processing applications.
33 homepage = "http://cimg.eu/";
34 license = licenses.cecill-c;
35 maintainers = [ maintainers.AndersonTorres ];
36 platforms = platforms.unix;