mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
Merge pull request #238205 from CardboardTurkey/linearicons-free
linearicons-free: init at v1.0.0
This commit is contained in:
commit
607b9c8682
30
pkgs/data/fonts/linearicons-free/default.nix
Normal file
30
pkgs/data/fonts/linearicons-free/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, fetchzip, stdenvNoCC }:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "linearicons-free";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://cdn.linearicons.com/free/${finalAttrs.version}/Linearicons-Free-v${finalAttrs.version}.zip";
|
||||
hash = "sha256-0Gb0CRdgzSnpeN+x8TrH5TCrAA57+jsBWZ4FgJ8cm08=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D -m444 -t $out/share/fonts/truetype $src/Desktop\ Font/Linearicons-Free.ttf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Crisp Line Icons by Perxis";
|
||||
longDescription = ''
|
||||
See cheat sheet here: https://linearicons.com/free#cheat-sheet
|
||||
'';
|
||||
homepage = "https://linearicons.com/free";
|
||||
license = lib.licenses.cc-by-sa-40;
|
||||
maintainers = [ lib.maintainers.CardboardTurkey ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
@ -28700,6 +28700,8 @@ with pkgs;
|
||||
|
||||
line-awesome = callPackage ../data/fonts/line-awesome { };
|
||||
|
||||
linearicons-free = callPackage ../data/fonts/linearicons-free { };
|
||||
|
||||
linja-pi-pu-lukin = callPackage ../data/fonts/linja-pi-pu-lukin { };
|
||||
|
||||
linja-sike = callPackage ../data/fonts/linja-sike { };
|
||||
|
Loading…
Reference in New Issue
Block a user