commit
65cd13090f
4 changed files with 31 additions and 16 deletions
|
@ -1,20 +1,16 @@
|
|||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fira-mono
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "fira";
|
||||
version = "4.202";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = "Fira";
|
||||
rev = version;
|
||||
hash = "sha256-HLReqgL0PXF5vOpwLN0GiRwnzkjGkEVEyOEV2Z4R0oQ=";
|
||||
};
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "fira-sans";
|
||||
inherit (fira-mono) version src;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install --mode=-x -Dt $out/share/fonts/opentype otf/*.otf
|
||||
install --mode=-x -Dt $out/share/fonts/opentype otf/FiraSans*.otf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
23
pkgs/by-name/fi/fira/package.nix
Normal file
23
pkgs/by-name/fi/fira/package.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib
|
||||
, symlinkJoin
|
||||
, fira-mono
|
||||
, fira-sans
|
||||
}:
|
||||
|
||||
symlinkJoin rec {
|
||||
pname = "fira";
|
||||
inherit (fira-mono) version;
|
||||
name = "${pname}-${version}";
|
||||
|
||||
paths = [
|
||||
fira-mono
|
||||
fira-sans
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Fira font family including Fira Sans and Fira Mono";
|
||||
homepage = "https://mozilla.github.io/Fira/";
|
||||
license = lib.licenses.ofl;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -28708,8 +28708,6 @@ with pkgs;
|
|||
|
||||
fanwood = callPackage ../data/fonts/fanwood { };
|
||||
|
||||
fira = callPackage ../data/fonts/fira { };
|
||||
|
||||
fira-code = callPackage ../data/fonts/fira-code { };
|
||||
fira-code-symbols = callPackage ../data/fonts/fira-code/symbols.nix { };
|
||||
fira-code-nerdfont = nerdfonts.override {
|
||||
|
@ -28718,8 +28716,6 @@ with pkgs;
|
|||
|
||||
fira-go = callPackage ../data/fonts/fira-go { };
|
||||
|
||||
fira-mono = callPackage ../data/fonts/fira-mono { };
|
||||
|
||||
flat-remix-icon-theme = callPackage ../data/icons/flat-remix-icon-theme {
|
||||
inherit (plasma5Packages) breeze-icons;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue