2014-08-09 21:13:21 +01:00
|
|
|
{ stdenv, fetchurl
|
2014-09-10 19:59:54 +01:00
|
|
|
, unzip }:
|
2014-08-09 21:13:21 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "cimg-${version}";
|
|
|
|
version = "1.5.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-02-28 12:07:42 +00:00
|
|
|
url = "mirror://sourceforge/project/cimg/CImg-${version}.zip";
|
2014-08-09 21:13:21 +01:00
|
|
|
sha256 = "1xn20643gcbl76kvy9ajhwbyjjb73mg65q32ma8mdkwn1qhn7f7c";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with stdenv.lib;
|
|
|
|
[ unzip ];
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A small, open source, C++ toolkit for image processing";
|
|
|
|
homepage = http://cimg.sourceforge.net/;
|
|
|
|
license = licenses.cecill-c;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2015-04-07 18:04:14 +01:00
|
|
|
platforms = platforms.unix;
|
2014-08-09 21:13:21 +01:00
|
|
|
};
|
|
|
|
}
|