2021-09-04 01:01:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2010-11-24 11:19:38 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "inconsolata";
|
2024-01-08 04:09:35 +00:00
|
|
|
version = "3.001";
|
2010-11-24 11:19:38 +00:00
|
|
|
|
2021-09-04 01:01:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "fonts";
|
2024-01-08 04:09:35 +00:00
|
|
|
rev = "0f203e3740b5eb77e0b179dff1e5869482676782";
|
|
|
|
sha256 = "sha256-Q8eUJ0mkoB245Ifz5ulxx61x4+AqKhG0uqhWF2nSLpw=";
|
2021-09-04 01:01:33 +00:00
|
|
|
};
|
2010-11-24 11:19:38 +00:00
|
|
|
|
2017-11-23 07:21:15 +00:00
|
|
|
installPhase = ''
|
2024-01-08 04:09:35 +00:00
|
|
|
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/static/*.ttf
|
2017-11-23 07:21:15 +00:00
|
|
|
'';
|
2010-11-24 11:19:38 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.levien.com/type/myfonts/inconsolata.html";
|
2010-11-24 11:19:38 +00:00
|
|
|
description = "A monospace font for both screen and print";
|
2024-01-08 04:09:35 +00:00
|
|
|
maintainers = with maintainers; [ appsforartists mikoim raskin ];
|
2015-06-11 22:17:53 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2010-11-24 11:19:38 +00:00
|
|
|
};
|
2015-06-11 22:17:53 +00:00
|
|
|
}
|