mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
35 lines
936 B
Nix
35 lines
936 B
Nix
{ pkgs, lib, stdenvNoCC, fetchFromGitHub, }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "super-tiny-icons";
|
|
version = "unstable-2023-05-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "edent";
|
|
repo = "SuperTinyIcons";
|
|
rev = "69689fc05d6a14a865723a01b67c1af4741ed357";
|
|
sha256 = "F1Qw1SLP7+LEiUch0YjBXQcpfU17YLCBk8q6cM77plU=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|