mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 08:30:21 +02:00
15 lines
354 B
Nix
15 lines
354 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "redhat-liberation";
|
|
src = fetchurl {
|
|
url = https://www.redhat.com/f/fonts/liberation-fonts.tar.gz;
|
|
sha256 = "5749c27f3deb5da323961e86efed1306fc072bea9065790d0047ad61471be6a5";
|
|
};
|
|
installPhase = ''
|
|
ensureDir $out/share/fonts/truetype
|
|
cp *.ttf $out/share/fonts/truetype
|
|
'';
|
|
}
|
|
|