mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
69ce5cb656
find pkgs -name "*.nix" -exec sed -r \ "s|https?://downloads.sourceforge.net/|mirror://sourceforge/|g" -i {} \;
27 lines
616 B
Nix
27 lines
616 B
Nix
{ stdenv, fetchurl
|
|
, unzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cimg-${version}";
|
|
version = "1.5.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/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.unix;
|
|
};
|
|
}
|