summary refs log tree commit diff
path: root/pkgs/data/fonts/manrope/default.nix
blob: 9bf4f32caeb27896295e8d7cdc6d405d8c8c217f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, fetchFromGitHub }:

let
  pname = "manrope";
  version = "3";
in fetchFromGitHub {
  name = "${pname}-${version}";
  owner = "sharanda";
  repo = pname;
  rev = "3bd68c0c325861e32704470a90dfc1868a5c37e9";
  sha256 = "1h4chkfbp75hrrqqarf28ld4yb7hfrr7q4w5yz96ivg94lbwlnld";
  postFetch = ''
    tar xf $downloadedFile --strip=1
    install -Dm644 -t $out/share/fonts/opentype "desktop font"/*
  '';
  meta = with lib; {
    description = "Open-source modern sans-serif font family";
    homepage = "https://github.com/sharanda/manrope";
    license = licenses.ofl;
    platforms = platforms.all;
    maintainers = with maintainers; [ dtzWill ];
  };
}