forked from mirrors/nixpkgs
fira-mono: 4.106 -> 4.202
Also fix incorrect version in package name.
This commit is contained in:
parent
0ec2c62641
commit
8757e1f1c3
|
@ -1,13 +1,14 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
fetchzip {
|
||||
name = "fira-mono-3.206";
|
||||
let version = "4.202";
|
||||
in fetchzip {
|
||||
name = "fira-mono-${version}";
|
||||
|
||||
url = "https://github.com/mozilla/Fira/archive/4.106.zip";
|
||||
url = "https://github.com/mozilla/Fira/archive/${version}.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile Fira-4.106/otf/FiraMono\*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile Fira-${version}/otf/FiraMono\*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
|
||||
sha256 = "1ci3fxhdwabvfj4nl16pwcgqnh7s2slp8vblribk8zkpx8cbp1dj";
|
||||
|
|
Loading…
Reference in a new issue