nixpkgs/pkgs/misc/tex/pgf/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

17 lines
332 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "pgf-1.10";
src = fetchurl {
url = mirror://sourceforge/pgf/pgf-1.10.tar.gz;
sha256 = "1y605wmjxryphh0y5zgzvdq6xjxb2bjb95j36d4wg1a7n93ksswl";
};
buildPhase = "true";
installPhase = "
ensureDir $out/share/texmf-nix
cp -prd * $out/share/texmf-nix
";
}