Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
845 B
Nix
35 lines
845 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;
|
|
};
|
|
})
|