nixpkgs/pkgs/data/icons/capitaine-cursors-themed/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
802 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
2023-01-12 20:49:54 +01:00
pname = "capitaine-cursors-themed";
version = "5";
src = fetchzip {
url = "https://github.com/sainnhe/capitaine-cursors/releases/download/r${version}/Linux.zip";
stripRoot = false;
hash = "sha256-ipPpmZKU/xLA45fdOvxVbtFDCUsCYIvzeps/DjhFkNg=";
};
installPhase = ''
runHook preInstall
2023-01-12 20:49:54 +01:00
mkdir -p $out/share/icons
cp -r ./ $out/share/icons
runHook postInstall
2023-01-12 20:49:54 +01:00
'';
meta = with lib; {
description = "Fork of the capitaine cursor theme, with some additional variants (Gruvbox, Nord, Palenight) and support for HiDPI";
homepage = "https://github.com/sainnhe/capitaine-cursors";
license = licenses.lgpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.math-42 ];
};
}