depot/third_party/nixpkgs/pkgs/data/icons/super-tiny-icons/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

34 lines
936 B
Nix

{ pkgs, lib, stdenvNoCC, fetchFromGitHub, }:
stdenvNoCC.mkDerivation {
pname = "super-tiny-icons";
version = "unstable-2022-11-07";
src = fetchFromGitHub {
owner = "edent";
repo = "SuperTinyIcons";
rev = "b4d5a3be04c99ec0a309ac9e0d0b21207c237c7d";
sha256 = "670ndAuBrZBr7YOTQm2zHJfpiBC56aPk+ZKMneREEoI=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons/SuperTinyIcons
find $src/images -type d -exec cp -r {} $out/share/icons/SuperTinyIcons/ \;
runHook postInstall
'';
meta = with lib; {
description = "Miniscule SVG versions of common logos";
longDescription = ''
Super Tiny Web Icons are minuscule SVG versions of your favourite logos.
The average size is under 568 bytes!
'';
homepage = "https://github.com/edent/SuperTinyIcons";
license = licenses.mit;
maintainers = [ maintainers.h7x4 ];
platforms = platforms.all;
};
}