depot/third_party/nixpkgs/pkgs/data/icons/gruppled-cursors/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

30 lines
679 B
Nix

{
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 ];
};
})