diff options
Diffstat (limited to 'nixpkgs/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix')
-rw-r--r-- | nixpkgs/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix b/nixpkgs/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix new file mode 100644 index 000000000000..e0402b2f721b --- /dev/null +++ b/nixpkgs/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix @@ -0,0 +1,34 @@ +{ stdenvNoCC +, fetchFromGitHub +, lib +}: + +stdenvNoCC.mkDerivation rec { + pname = "mint-cursor-themes"; + version = "1.0.2"; + + src = fetchFromGitHub { + owner = "linuxmint"; + repo = pname; + # They don't really do tags, this is just a named commit. + rev = "d2c1428b499a347c291dafb13c89699fdbdd4be7"; + hash = "sha256-i2Wf+OKwal9G5hkcAdmGSgX6txu1AHajqqPJdhpJoA0="; + }; + + 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; + }; +} |