mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
39 lines
772 B
Nix
39 lines
772 B
Nix
{
|
|
lib,
|
|
tcl,
|
|
fetchzip,
|
|
graphicsmagick,
|
|
tk,
|
|
}:
|
|
|
|
tcl.mkTclDerivation rec {
|
|
pname = "tclmagick";
|
|
version = "1.3.43";
|
|
|
|
src = fetchzip {
|
|
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz";
|
|
hash = "sha256-CpZztiBF0HqH4XWIAyE9IbZVpBcgrDzyASv47wTneQ0=";
|
|
};
|
|
|
|
sourceRoot = src.name + "/TclMagick";
|
|
|
|
buildInputs = [
|
|
graphicsmagick
|
|
tk
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-tk=${lib.getLib tk}/lib"
|
|
"--with-tkinclude=${lib.getDev tk}/include"
|
|
];
|
|
|
|
doInstallCheck = true;
|
|
|
|
meta = {
|
|
description = "Tcl and Tk Interfaces to GraphicsMagick and ImageMagick";
|
|
homepage = "http://www.graphicsmagick.org/TclMagick/doc/";
|
|
license = lib.licenses.tcltk;
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
|
};
|
|
}
|