summary refs log tree commit diff
path: root/pkgs/development/libraries/cimg/default.nix
blob: 049938e1f45918b24b679a2f281a87c4bf64d5a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl
, unzip }:

stdenv.mkDerivation rec {

  name = "cimg-${version}";
  version = "1.5.9";

  src = fetchurl {
    url = "http://downloads.sourceforge.net/project/cimg/CImg-${version}.zip";
    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 ];
    platforms = platforms.linux;
  };
}