nixpkgs/pkgs/by-name/pg/pgf-pie/package.nix
Anderson Torres cab2a1296e
treewide: remove AndersonTorres from maintainers
As I said before, I want to keep a narrow focus on Nixpkgs. Now that I am back
at undergrad, this focus should be even narrower: I will keep my eyes on Emacs,
and nothing else.
2025-02-12 00:36:02 -03:00

35 lines
728 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "pgf-pie";
version = "0.7";
src = fetchFromGitHub {
owner = "pgf-tikz";
repo = "pgf-pie";
tag = finalAttrs.version;
hash = "sha256-tAUv35AMgJW5JI2KIXxxXFihqdB7qbMmNpAYhpDbAxs=";
};
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-pie";
description = "Some LaTeX macros for pie charts using the PGF/TikZ package";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
})