nixpkgs/pkgs/data/fonts/redhat-liberation-fonts/default.nix
Wouter den Breejen df8ae9639a More mirrors / updates . . .
svn path=/nixpkgs/trunk/; revision=12308
2008-07-07 17:10:21 +00:00

15 lines
342 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "redhat-liberation";
src = fetchurl {
url = https://www.redhat.com/f/fonts/liberation-fonts.tar.gz;
sha256 = "13zzyqyi3mf676aj3fg9122asyykpx94mk689r1p2ab1axyg4k0p";
};
installPhase = ''
ensureDir $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
}