mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
oxygenfonts: minor cleanups
Change installation directory and some minor code simplifications.
This commit is contained in:
parent
d22bb26fb9
commit
a4524b4bfb
1 changed files with 21 additions and 27 deletions
|
@ -1,12 +1,7 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
pname = "oxygenfonts";
|
||||
version = "20160825";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "oxygenfonts-20160825";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vernnobile";
|
||||
|
@ -18,15 +13,14 @@ in
|
|||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype/${pname}
|
||||
cp OxygenSans-version-0.4/*/*.ttf $out/share/fonts/truetype/${pname}
|
||||
cp Oxygen-Monospace/*.ttf $out/share/fonts/truetype/${pname}
|
||||
mkdir -p $out/share/fonts/truetype/
|
||||
cp OxygenSans-version-0.4/*/*.ttf $out/share/fonts/truetype/
|
||||
cp Oxygen-Monospace/*.ttf $out/share/fonts/truetype/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Desktop/gui font for integrated use with the KDE desktop";
|
||||
longDescription =
|
||||
''
|
||||
longDescription = ''
|
||||
Oxygen Font is a font family originally aimed as a desktop/gui
|
||||
font for integrated use with the KDE desktop.
|
||||
|
||||
|
|
Loading…
Reference in a new issue