oxygenfonts: minor cleanups
Change installation directory and some minor code simplifications.
This commit is contained in:
parent
d22bb26fb9
commit
a4524b4bfb
@ -1,12 +1,7 @@
|
|||||||
{ stdenv, fetchFromGitHub }:
|
{ stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "oxygenfonts";
|
name = "oxygenfonts-20160825";
|
||||||
version = "20160825";
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vernnobile";
|
owner = "vernnobile";
|
||||||
@ -18,15 +13,14 @@ in
|
|||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts/truetype/${pname}
|
mkdir -p $out/share/fonts/truetype/
|
||||||
cp OxygenSans-version-0.4/*/*.ttf $out/share/fonts/truetype/${pname}
|
cp OxygenSans-version-0.4/*/*.ttf $out/share/fonts/truetype/
|
||||||
cp Oxygen-Monospace/*.ttf $out/share/fonts/truetype/${pname}
|
cp Oxygen-Monospace/*.ttf $out/share/fonts/truetype/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Desktop/gui font for integrated use with the KDE desktop";
|
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
|
Oxygen Font is a font family originally aimed as a desktop/gui
|
||||||
font for integrated use with the KDE desktop.
|
font for integrated use with the KDE desktop.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user