Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
784 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "pgf";
version = "2.10";
src = fetchFromGitHub {
owner = "pgf-tikz";
repo = "pgf";
tag = finalAttrs.version;
hash = "sha256-AA+XFhEkJifODJb6SppnxhR4lMlMNaH+k10UF6QisJ8=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/texmf-nix
cp -prd context doc generic latex plain $out/share/texmf-nix/
runHook postInstall
'';
meta = {
homepage = "https://github.com/pgf-tikz/pgf";
description = "Portable Graphic Format for TeX";
branch = lib.versions.major finalAttrs.version;
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = lib.platforms.unix;
};
})