nixpkgs-suyu/pkgs/data/fonts/redhat-liberation-fonts/default.nix
Michael Raskin e29972b129 Update RedHat Liberation fonts
svn path=/nixpkgs/trunk/; revision=15516
2009-05-09 16:26:59 +00:00

15 lines
374 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "redhat-liberation";
src = fetchurl {
url = https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-1.04.tar.gz;
sha256 = "189i6pc4jqhhmsb9shi8afg9af9crpmz9bnlldhqaxavr1bhj38f";
};
installPhase = ''
ensureDir $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
}