depot/third_party/nixpkgs/pkgs/data/fonts/norwester/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

29 lines
725 B
Nix

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