mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
antu-icons: init at 2.0
This commit is contained in:
40
pkgs/by-name/an/antu-icons/package.nix
Normal file
40
pkgs/by-name/an/antu-icons/package.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitLab,
|
||||
hicolor-icon-theme,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "antu-icons";
|
||||
version = "2.0"; # https://www.opendesktop.org/p/1188266/
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "froodo_alexis";
|
||||
repo = "Antu-icons";
|
||||
rev = "a12a9e559b59c8ded47531e299a5516718ef9a28";
|
||||
hash = "sha256-CLcr+X/b0moVEBV0O/dzCDq4w5G2+KRLUBdqKm0eAKA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ hicolor-icon-theme ];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/icons/antu-icons
|
||||
cp -r * $out/share/icons/antu-icons
|
||||
|
||||
# Remove broken symlinks
|
||||
find $out/share/icons/antu-icons -xtype l -delete
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Smooth icon theme designed for Plasma Desktop";
|
||||
homepage = "https://gitlab.com/froodo_alexis/Antu-icons";
|
||||
license = lib.licenses.cc-by-nc-sa-30;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ iamanaws ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user