159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
29 lines
638 B
Nix
29 lines
638 B
Nix
{
|
|
lib,
|
|
tcl,
|
|
fetchzip,
|
|
}:
|
|
|
|
tcl.mkTclDerivation rec {
|
|
pname = "pdf4tcl";
|
|
version = "0.9.4";
|
|
|
|
src = fetchzip {
|
|
url = "mirror://sourceforge/pdf4tcl/pdf4tcl${lib.replaceStrings [ "." ] [ "" ] version}.tar.gz";
|
|
hash = "sha256-lmSt0UQDfUef8S7zevAvvbeWB/vd6jLbKz7Y5A7xJm4=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/lib/pdf4tcl
|
|
cp -r * $out/lib/pdf4tcl/
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Tcl package for generating PDF files";
|
|
homepage = "https://pdf4tcl.sourceforge.net/";
|
|
license = lib.licenses.tcltk;
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
|
};
|
|
}
|