Skip to content

Commit

Permalink
Merge pull request #242667 from nim65s/gruppled
Browse files Browse the repository at this point in the history
gruppled-cursors, gruppled-lite-cursors: init at 1.0.0
  • Loading branch information
SuperSandro2000 committed Apr 20, 2024
2 parents 0f5cb6b + de8b246 commit 1e0852c
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/data/icons/gruppled-cursors/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
stdenvNoCC,
fetchFromGitHub,
theme,
lib,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
pname = "gruppled-cursors";
version = "1.0.0";

src = fetchFromGitHub {
owner = "nim65s";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
hash = "sha256-ejlgdogjIYevZvB23si6bEeU6qY7rWXflaUyVk5MzqU=";
};

installPhase = ''
mkdir -p $out/share/icons/${theme}
cp -r ${theme}/{cursors,index.theme} $out/share/icons/${theme}
'';

meta = with lib; {
description = "Gruppled Cursors theme";
homepage = "https://github.com/nim65s/gruppled-cursors";
license = licenses.gpl2Only;
maintainers = with maintainers; [ nim65s ];
};
})
30 changes: 30 additions & 0 deletions pkgs/data/icons/gruppled-lite-cursors/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
stdenvNoCC,
fetchFromGitHub,
theme,
lib,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
pname = "gruppled-lite-cursors";
version = "1.0.0";

src = fetchFromGitHub {
owner = "nim65s";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
hash = "sha256-adCXYu8v6mFKXubVQb/RCZXS87//YgixQp20kMt7KT8=";
};

installPhase = ''
mkdir -p $out/share/icons/${theme}
cp -r ${theme}/{cursors,index.theme} $out/share/icons/${theme}
'';

meta = with lib; {
description = "Gruppled Lite Cursors theme";
homepage = "https://github.com/nim65s/gruppled-lite-cursors";
license = licenses.gpl2Only;
maintainers = with maintainers; [ nim65s ];
};
})
17 changes: 17 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28786,6 +28786,23 @@ with pkgs;

spacx-gtk-theme = callPackage ../data/themes/gtk-theme-framework { theme = "spacx"; };

inherit
({
gruppled-black-cursors = callPackage ../data/icons/gruppled-cursors { theme = "gruppled_black"; };
gruppled-black-lite-cursors = callPackage ../data/icons/gruppled-lite-cursors {
theme = "gruppled_black_lite";
};
gruppled-white-cursors = callPackage ../data/icons/gruppled-cursors { theme = "gruppled_white"; };
gruppled-white-lite-cursors = callPackage ../data/icons/gruppled-lite-cursors {
theme = "gruppled_white_lite";
};
})
gruppled-black-cursors
gruppled-black-lite-cursors
gruppled-white-cursors
gruppled-white-lite-cursors
;

gruvbox-dark-icons-gtk = callPackage ../data/icons/gruvbox-dark-icons-gtk {
inherit (plasma5Packages) breeze-icons;
};
Expand Down

0 comments on commit 1e0852c

Please sign in to comment.