openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / linearicons-free / package.nix
blob4df1923e3b634e4aed082e2f3beedd4c31fb3345
2   lib,
3   fetchzip,
4   stdenvNoCC,
5 }:
7 stdenvNoCC.mkDerivation (finalAttrs: {
8   pname = "linearicons-free";
9   version = "1.0.0";
11   src = fetchzip {
12     url = "https://cdn.linearicons.com/free/${finalAttrs.version}/Linearicons-Free-v${finalAttrs.version}.zip";
13     hash = "sha256-0Gb0CRdgzSnpeN+x8TrH5TCrAA57+jsBWZ4FgJ8cm08=";
14   };
16   installPhase = ''
17     runHook preInstall
19     install -D -m444 -t $out/share/fonts/truetype $src/Desktop\ Font/Linearicons-Free.ttf
21     runHook postInstall
22   '';
24   meta = {
25     description = "Crisp Line Icons by Perxis";
26     longDescription = ''
27       See cheat sheet here: https://linearicons.com/free#cheat-sheet
28     '';
29     homepage = "https://linearicons.com/free";
30     license = lib.licenses.cc-by-sa-40;
31     maintainers = [ lib.maintainers.CardboardTurkey ];
32     platforms = lib.platforms.all;
33   };