pgf-umlcd: init at 0.3

This commit is contained in:
AndersonTorres 2022-10-29 17:52:05 -03:00
parent 9c4d840c7c
commit 92ed989f81
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "pgf-umlcd";
version = "0.3";
src = fetchFromGitHub {
owner = "pgf-tikz";
repo = "pgf-umlcd";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-92bfBcQfnalYoVxlVRjbRXhWt+CbS8PtiMmFIqbgo7A=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/texmf-nix
cp -prd doc tex/latex $out/share/texmf-nix/
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/pgf-tikz/pgf-umlcd";
description = "Some LaTeX macros for UML Class Diagrams";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
})

View File

@ -4053,6 +4053,8 @@ with pkgs;
pgf-pie = callPackage ../tools/typesetting/tex/pgf-tikz/pgf-pie.nix { };
pgf-umlcd = callPackage ../tools/typesetting/tex/pgf-tikz/pgf-umlcd.nix { };
pgfplots = callPackage ../tools/typesetting/tex/pgf-tikz/pgfplots.nix { };
pplatex = callPackage ../tools/typesetting/tex/pplatex { };