Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm sorry, I can't explain in detail right now, but you can take a look at how I package icons from git here.
{ lib, stdenv, fetchzip, ... }: stdenv.mkDerivation rec { pname = "gruvbox-plus-icon-pack"; version = "4.0"; src = fetchzip { url = "https://github.com/SylEleuth/gruvbox-plus-icon-pack/releases/download/v${version}/gruvbox-plus-icon-pack-${version}.zip"; sha256 = "sha256-EiAu3SFhMXTI6raCuyIdOtoe0g4Pfcsk8H+I6b2jQZw="; }; sourceRoot = "."; installPhase = '' runHook preInstall mkdir -p $out/share/icons/gruvbox-plus cp -r * $out/share/icons/gruvbox-plus runHook postInstall ''; meta = with lib; { description = "Gruvbox icons"; homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack"; license = licenses.gpl3; }; }
This code snipped is taken from here