depot/pkgs/development/tcl-modules/by-name/tc/tclmagick/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

38 lines
780 B
Nix

{
lib,
mkTclDerivation,
fetchzip,
graphicsmagick,
tk,
}:
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 ];
};
}