Unverified Commit 799301ce authored by Tatesa Uradnik's avatar Tatesa Uradnik
Browse files

lucide: init at 0.541.0

parent 2b1f3244
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11496,6 +11496,12 @@
    githubId = 2588851;
    name = "Jan Solanti";
  };
  janTatesa = {
    email = "taduradnik@gmail.com";
    github = "janTatesa";
    githubId = 100917739;
    name = "Tatesa Uradnik";
  };
  jappie = {
    email = "jappieklooster@hotmail.com";
    github = "jappeace";
+26 −0
Original line number Diff line number Diff line
{ lib, fetchurl }:
fetchurl rec {
  pname = "lucide";
  version = "0.541.0";

  url = "https://unpkg.com/lucide-static@${version}/font/Lucide.ttf";
  hash = "sha256-b6zAx9b89oYS1Vrm7XR8Uu0M6unmTfC3o9Q2ZAuCrjo=";

  downloadToTemp = true;
  recursiveHash = true;

  postFetch = ''
    mkdir -p $out/share/fonts/truetype
    cp -a $downloadedFile $out/share/fonts/truetype/Lucide.ttf
  '';

  meta = {
    homepage = "https://lucide.dev/";
    description = "Open-source icon library that provides 1000+ icons";
    downloadPage = url;
    platforms = lib.platforms.all;
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.janTatesa ];
    sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
  };
}