2021-09-04 02:01:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2010-11-24 11:19:38 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "inconsolata";
|
2021-09-04 02:01:33 +01:00
|
|
|
version = "unstable-2021-01-19";
|
2010-11-24 11:19:38 +00:00
|
|
|
|
2021-09-04 02:01:33 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "fonts";
|
|
|
|
rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a";
|
|
|
|
sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs";
|
|
|
|
};
|
2010-11-24 11:19:38 +00:00
|
|
|
|
2017-11-23 07:21:15 +00:00
|
|
|
installPhase = ''
|
2021-09-04 02:01:33 +01:00
|
|
|
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/*.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 02:11:51 +01: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";
|
2021-04-18 08:00:18 +01:00
|
|
|
maintainers = with maintainers; [ mikoim raskin ];
|
2015-06-11 23:17:53 +01:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2010-11-24 11:19:38 +00:00
|
|
|
};
|
2015-06-11 23:17:53 +01:00
|
|
|
}
|