3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #259294 from clr-cera/candy-icons

candy-icons: init at unstable-2023-12-31
This commit is contained in:
h7x4 2024-01-20 16:41:56 +01:00 committed by GitHub
commit cfccc526d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 47 additions and 0 deletions

View file

@ -3541,6 +3541,12 @@
githubId = 46303707;
name = "Christian Lütke-Stetzkamp";
};
clr-cera = {
email = "clrcera05@gmail.com";
github = "clr-cera";
githubId = 93736542;
name = "Clr";
};
cmacrae = {
email = "hi@cmacr.ae";
github = "cmacrae";

View file

@ -0,0 +1,41 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, gtk3
}:
stdenvNoCC.mkDerivation {
pname = "candy-icons";
version = "unstable-2023-12-31";
src = fetchFromGitHub {
owner = "EliverLara";
repo = "candy-icons";
rev = "e4464d7b4d8e1821025447b2064b6a8f5c4c8c89";
hash = "sha256-XdYjxWf8R4b1GK2iFQnoEOWykc19ZT37ki83WeESQBM=";
};
nativeBuildInputs = [
gtk3
];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons/candy-icons
cp -r . $out/share/icons/candy-icons
gtk-update-icon-cache $out/share/icons/candy-icons
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/EliverLara/candy-icons";
description = "An icon theme colored with sweet gradients";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ clr-cera ];
};
}