diff options
author | h7x4 <h7x4@nani.wtf> | 2022-11-12 19:12:47 +0100 |
---|---|---|
committer | h7x4 <h7x4@nani.wtf> | 2022-11-12 19:12:47 +0100 |
commit | b111623c4a56086c895121bfe78a74e0ee44eac3 (patch) | |
tree | 244f8830cbfd546ab31643c542919a17895d3e8a /pkgs/data/icons/super-tiny-icons | |
parent | eb58ee1066cc67a1b51b218d835f8dbbb37c67dd (diff) |
super-tiny-icons: init at 2022-11-07
Co-authored-by: SuperSandro2000 <sandro.jaeckel@gmail.com> Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
Diffstat (limited to 'pkgs/data/icons/super-tiny-icons')
-rw-r--r-- | pkgs/data/icons/super-tiny-icons/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/data/icons/super-tiny-icons/default.nix b/pkgs/data/icons/super-tiny-icons/default.nix new file mode 100644 index 0000000000000..6a7fcb07bc115 --- /dev/null +++ b/pkgs/data/icons/super-tiny-icons/default.nix @@ -0,0 +1,34 @@ +{ 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; + }; +} |