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