arkpandora_ttf: use mkDerivation
This commit is contained in:
parent
96350a9ec9
commit
1af99b8dad
@ -1,6 +1,8 @@
|
||||
args : with args;
|
||||
let version = lib.attrByPath ["version"] "2.04" args; in
|
||||
rec {
|
||||
{ stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "arkpandora-${version}";
|
||||
version = "2.04";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ttf-arkpandora-${version}.tgz"
|
||||
@ -10,13 +12,11 @@ rec {
|
||||
sha256 = "16mfxwlgn6vs3xn00hha5dnmz6bhjiflq138y4zcq3yhk0y9bz51";
|
||||
};
|
||||
|
||||
buildInputs = [];
|
||||
configureFlags = [];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doUnpack" "installFonts"];
|
||||
|
||||
name = "arkpandora-" + version;
|
||||
meta = {
|
||||
description = "Font, metrically identical to Arial and Times New Roman";
|
||||
};
|
||||
|
@ -10820,7 +10820,7 @@ let
|
||||
|
||||
anonymousPro = callPackage ../data/fonts/anonymous-pro { };
|
||||
|
||||
arkpandora_ttf = builderDefsPackage (callPackage ../data/fonts/arkpandora) { };
|
||||
arkpandora_ttf = callPackage ../data/fonts/arkpandora { };
|
||||
|
||||
aurulent-sans = callPackage ../data/fonts/aurulent-sans { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user