diff --git a/pkgs/desktops/cinnamon/default.nix b/pkgs/desktops/cinnamon/default.nix index 5a803c6d487c..fbff8c60fa3f 100644 --- a/pkgs/desktops/cinnamon/default.nix +++ b/pkgs/desktops/cinnamon/default.nix @@ -26,6 +26,7 @@ lib.makeScope pkgs.newScope (self: with self; { cjs = callPackage ./cjs { }; nemo = callPackage ./nemo { }; mint-artwork = callPackage ./mint-artwork { }; + mint-cursor-themes = callPackage ./mint-cursor-themes { }; mint-themes = callPackage ./mint-themes { }; mint-x-icons = callPackage ./mint-x-icons { }; mint-y-icons = callPackage ./mint-y-icons { }; diff --git a/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix b/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix new file mode 100644 index 000000000000..c2190a65308d --- /dev/null +++ b/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix @@ -0,0 +1,33 @@ +{ stdenvNoCC +, fetchFromGitHub +, lib +}: + +stdenvNoCC.mkDerivation rec { + pname = "mint-cursor-themes"; + version = "unstable-2022-11-29"; + + src = fetchFromGitHub { + owner = "linuxmint"; + repo = pname; + rev = "aa6bb767831ac43d1768c2e639de713a4a1eba8d"; + hash = "sha256-UQnRrylUo9zuDiAwQ1COtXMtq4XTbxtMle41p+pzxJc="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out + mv usr/share $out + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/linuxmint/mint-cursor-themes/"; + description = "Linux Mint cursor themes"; + license = licenses.gpl3Plus; + maintainers = teams.cinnamon.members; + platforms = platforms.linux; + }; +}