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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
922 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2017-11-25 22:56:59 +01:00
stdenvNoCC.mkDerivation rec {
pname = "vdrsymbols";
version = "20100612";
2017-11-25 22:56:59 +01:00
src = fetchurl {
url = "http://andreas.vdr-developer.org/fonts/download/${pname}-ttf-${version}.tgz";
hash = "sha256-YxB+JcDkta5are+OQyP/WKDL0vllgn0m26bU9mQ3C/Q=";
};
installPhase = ''
runHook preInstall
2017-11-25 22:56:59 +01:00
install -Dm444 -t "$out/share/fonts/truetype" *.ttf
2017-11-25 22:56:59 +01:00
runHook postInstall
2017-11-25 22:56:59 +01:00
'';
meta = with lib; {
2017-11-25 22:56:59 +01:00
description = "DejaVu fonts with additional symbols used by VDR";
homepage = "http://andreas.vdr-developer.org/fonts/";
2017-11-25 22:56:59 +01:00
platforms = platforms.all;
maintainers = with maintainers; [ ck3d ];
# Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
# Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
# DejaVu changes are in public domain
# See https://dejavu-fonts.github.io/License.html for details
license = licenses.free;
};
}