ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / dm / dm-sans / package.nix
blobe8d51945254d2263b263771b15e54581973039d7
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "dm-sans";
5   version = "1.002";
7   src = fetchzip {
8     url = "https://github.com/googlefonts/dm-fonts/releases/download/v${version}/DeepMindSans_v${version}.zip";
9     stripRoot = false;
10     hash = "sha256-RSHHxiCac18qqF+hW5M3BbBcra4AQpNLLlUmhiWj9f8=";
11   };
13   installPhase = ''
14     runHook preInstall
16     mkdir -p $out/share/fonts/truetype
17     mv *.ttf $out/share/fonts/truetype
19     runHook postInstall
20   '';
22   meta = {
23     description = "Geometric sans-serif typeface";
24     homepage = "https://github.com/googlefonts/dm-fonts";
25     license = lib.licenses.ofl;
26     maintainers = with lib.maintainers; [ gilice ];
27   };