nixpkgs/pkgs/data/fonts/linearicons-free/default.nix
Kiran Ostrolenk 5e6ac68f5b linearicons-free: init at v1.0.0
This is a free line icon font from https://linearicons.com/free
2023-06-19 12:34:46 +02:00

31 lines
838 B
Nix

{ 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;
};
})