2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchFromGitHub }:
|
2019-03-25 12:37:30 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
let
|
2019-03-25 12:37:30 +00:00
|
|
|
pname = "manrope";
|
|
|
|
version = "3";
|
2019-05-13 02:55:32 +01:00
|
|
|
in fetchFromGitHub {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
owner = "sharanda";
|
|
|
|
repo = pname;
|
|
|
|
rev = "3bd68c0c325861e32704470a90dfc1868a5c37e9";
|
|
|
|
sha256 = "1h4chkfbp75hrrqqarf28ld4yb7hfrr7q4w5yz96ivg94lbwlnld";
|
|
|
|
postFetch = ''
|
|
|
|
tar xf $downloadedFile --strip=1
|
2019-03-25 12:37:30 +00:00
|
|
|
install -Dm644 -t $out/share/fonts/opentype "desktop font"/*
|
|
|
|
'';
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2019-03-25 12:37:30 +00:00
|
|
|
description = "Open-source modern sans-serif font family";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sharanda/manrope";
|
2019-03-25 12:37:30 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|