blob: 293fa6b52e37766631b8069bd2c4378f8464ecea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
};
})
|