nixpkgs/pkgs/data/fonts/arkpandora/default.nix

27 lines
769 B
Nix
Raw Normal View History

2017-08-10 20:43:49 +01:00
{ stdenv, fetchurl, unzip }:
2016-01-24 15:50:54 +00:00
2017-08-10 20:43:49 +01:00
let
version = "2.04";
in fetchurl {
name = "arkpandora-${version}";
2017-08-10 20:43:49 +01:00
urls = [
"http://distcache.FreeBSD.org/ports-distfiles/ttf-arkpandora-${version}.tgz"
"ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ttf-arkpandora-${version}.tgz"
"http://www.users.bigpond.net.au/gavindi/ttf-arkpandora-${version}.tgz"
];
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
tar -xzvf $downloadedFile --strip-components=1
2016-01-24 15:50:54 +00:00
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
2017-08-10 20:43:49 +01:00
sha256 = "177k0fbs0787al0snkl8w68d2qkg7snnnq6qp28j9s98vaabs04k";
meta = {
description = "Font, metrically identical to Arial and Times New Roman";
platforms = stdenv.lib.platforms.unix;
};
}