ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / ca / capitaine-cursors-themed / package.nix
blobe29c38dc5df6bbd14d186d13365a2f72f2a27c94
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "capitaine-cursors-themed";
5   version = "5";
7   src = fetchzip {
8     url = "https://github.com/sainnhe/capitaine-cursors/releases/download/r${version}/Linux.zip";
9     stripRoot = false;
10     hash = "sha256-ipPpmZKU/xLA45fdOvxVbtFDCUsCYIvzeps/DjhFkNg=";
11   };
13   installPhase = ''
14     runHook preInstall
16     mkdir -p $out/share/icons
17     cp -r ./ $out/share/icons
19     runHook postInstall
20   '';
22   meta = with lib; {
23     description = "Fork of the capitaine cursor theme, with some additional variants (Gruvbox, Nord, Palenight) and support for HiDPI";
24     homepage = "https://github.com/sainnhe/capitaine-cursors";
25     license = licenses.lgpl3Only;
26     platforms = platforms.unix;
27     maintainers = [ maintainers.math-42 ];
28   };