mirror of
https://gitlab.blahai.gay/elissa/haipkgs.git
synced 2025-04-04 18:09:30 +00:00
Add oneui4-icons
This commit is contained in:
parent
d39f17f069
commit
d3da7df023
1 changed files with 32 additions and 0 deletions
32
pkgs/oneui4-icons/default.nix
Normal file
32
pkgs/oneui4-icons/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "oneui4-icons";
|
||||
version = "unstable";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mjkim0727";
|
||||
repo = "OneUI4-Icons";
|
||||
rev = "4ed5ceb912e758a8f7095f2008c84ffd7155bc14";
|
||||
sha256 = "sha256-f5t7VGPmD+CjZyWmhTtuhQjV87hCkKSCBksJzFa1x1Y=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
# Remove broken symlinks
|
||||
find . -xtype l -delete
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/share/icons
|
||||
cp -dr --no-preserve=mode OneUI{,-dark,-light} $out/share/icons/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "One UI Icons for Linux ";
|
||||
homepage = "https://github.com/mjkim0727/OneUI4-Icons";
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue