nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 34 lines 746 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchFromGitHub, 5}: 6 7stdenvNoCC.mkDerivation { 8 pname = "pgf-umlcd"; 9 version = "0-unstable-2020-05-28"; 10 11 src = fetchFromGitHub { 12 owner = "pgf-tikz"; 13 repo = "pgf-umlsd"; 14 rev = "8766cc18596dbfa66202ceca01c62cab1c3ed6a2"; 15 hash = "sha256-gSBO7uDPMer9XyHfs0rr+2lricN5Nb4cOlShCsk0cPc="; 16 }; 17 18 installPhase = '' 19 runHook preInstall 20 21 mkdir -p $out/share/texmf-nix 22 cp -prd doc tex/latex $out/share/texmf-nix/ 23 24 runHook postInstall 25 ''; 26 27 meta = with lib; { 28 homepage = "https://github.com/pgf-tikz/pgf-umlsd"; 29 description = "Some LaTeX macros for UML Sequence Diagrams"; 30 license = licenses.gpl2Plus; 31 maintainers = with maintainers; [ ]; 32 platforms = platforms.unix; 33 }; 34}