nixpkgs/pkgs/desktops/cinnamon/mint-cursor-themes/default.nix

35 lines
747 B
Nix

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