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

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

30 lines
723 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2016-06-30 08:44:22 +01:00
stdenvNoCC.mkDerivation rec {
2017-08-10 20:43:49 +01:00
pname = "norwester";
version = "1.2";
2016-06-30 08:44:22 +01:00
src = fetchzip {
url = "http://jamiewilson.io/norwester/assets/norwester.zip";
stripRoot = false;
hash = "sha256-Ak/nobrQE/XYGWs/IhlZlTp74ff+s4adUR6Sht5Yf8g=";
};
2016-06-30 08:44:22 +01:00
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/opentype
cp ${pname}-v${version}/${pname}.otf $out/share/fonts/opentype/
runHook postInstall
'';
2017-08-10 20:43:49 +01:00
meta = with lib; {
homepage = "http://jamiewilson.io/norwester";
2016-06-30 08:44:22 +01:00
description = "Condensed geometric sans serif by Jamie Wilson";
maintainers = with maintainers; [ leenaars ];
license = licenses.ofl;
platforms = platforms.all;
};
}