Merge pull request #31960 from mikoim/fonts/inconsolata
inconsolata: 1.010 -> inherit google-fonts
This commit is contained in:
commit
e645ecf781
@ -1,20 +1,18 @@
|
|||||||
{ stdenv, fetchzip }:
|
{ stdenv, google-fonts }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "1.010";
|
|
||||||
in fetchzip {
|
|
||||||
name = "inconsolata-${version}";
|
name = "inconsolata-${version}";
|
||||||
|
|
||||||
url = "http://www.levien.com/type/myfonts/Inconsolata.otf";
|
inherit (google-fonts) src version;
|
||||||
|
|
||||||
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/opentype/inconsolata.otf";
|
installPhase = ''
|
||||||
|
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/*.ttf
|
||||||
sha256 = "1yyf7agabfv0ia57c7in0r33x7c8ay445zf7c3dfc83j6w85g3i7";
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.levien.com/type/myfonts/inconsolata.html;
|
homepage = http://www.levien.com/type/myfonts/inconsolata.html;
|
||||||
description = "A monospace font for both screen and print";
|
description = "A monospace font for both screen and print";
|
||||||
maintainers = with maintainers; [ raskin rycee ];
|
maintainers = with maintainers; [ mikoim raskin rycee ];
|
||||||
license = licenses.ofl;
|
license = licenses.ofl;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user