mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
line-awesome: init at 1.3.0
This commit is contained in:
parent
b3c2a06583
commit
8930a67d19
2 changed files with 38 additions and 0 deletions
36
pkgs/data/fonts/line-awesome/default.nix
Normal file
36
pkgs/data/fonts/line-awesome/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "line-awesome";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/${version}/line-awesome-${version}.zip";
|
||||
hash = "sha256:07qkz8s1wjh5xwqlq1b4lpihr1zah3kh6bnqvfwvncld8l9wjqfk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
sourceRoot = "${version}/fonts";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/fonts/woff
|
||||
mkdir -p $out/share/fonts/woff2
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
cp *.woff $out/share/fonts/woff
|
||||
cp *.woff2 $out/share/fonts/woff2
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Replace Font Awesome with modern line icons";
|
||||
longDescription = ''
|
||||
This package includes only the TTF, WOFF and WOFF2 fonts. For full CSS etc. see the project website.
|
||||
'';
|
||||
homepage = "https://icons8.com/line-awesome";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ puzzlewolf ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -17905,6 +17905,8 @@ in
|
|||
|
||||
libre-franklin = callPackage ../data/fonts/libre-franklin { };
|
||||
|
||||
line-awesome = callPackage ../data/fonts/line-awesome { };
|
||||
|
||||
lmmath = callPackage ../data/fonts/lmmath {};
|
||||
|
||||
lmodern = callPackage ../data/fonts/lmodern { };
|
||||
|
|
Loading…
Reference in a new issue