about summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/pgf-tikz/pgf-umlsd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/typesetting/tex/pgf-tikz/pgf-umlsd.nix')
-rw-r--r--pkgs/tools/typesetting/tex/pgf-tikz/pgf-umlsd.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/pgf-tikz/pgf-umlsd.nix b/pkgs/tools/typesetting/tex/pgf-tikz/pgf-umlsd.nix
new file mode 100644
index 0000000000000..fe08d68233965
--- /dev/null
+++ b/pkgs/tools/typesetting/tex/pgf-tikz/pgf-umlsd.nix
@@ -0,0 +1,33 @@
+{ lib
+, stdenvNoCC
+, fetchFromGitHub
+}:
+
+stdenvNoCC.mkDerivation (finalAttrs: {
+  pname = "pgf-umlcd";
+  version = "unstable-2020-05-28";
+
+  src = fetchFromGitHub {
+    owner = "pgf-tikz";
+    repo = "pgf-umlsd";
+    rev = "8766cc18596dbfa66202ceca01c62cab1c3ed6a2";
+    hash = "sha256-gSBO7uDPMer9XyHfs0rr+2lricN5Nb4cOlShCsk0cPc=";
+  };
+
+  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-umlsd";
+    description = "Some LaTeX macros for UML Sequence Diagrams";
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ AndersonTorres ];
+    platforms = platforms.unix;
+  };
+})