Unverified Commit 5c33d0c1 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

layan-cursors: init at 2021-08-01 (#383559)

parents 30995132 719b4583
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  lib,
  stdenvNoCC,
  fetchFromGitHub,
  nix-update-script,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "layan-cursors";
  version = "2021-08-01";

  src = fetchFromGitHub {
    owner = "vinceliuice";
    repo = "Layan-cursors";
    tag = finalAttrs.version;
    hash = "sha256-Izc5Q3IuM0ryTIdL+GjhRT7JKbznyxS2Fc4pY5dksq4=";
  };

  installPhase = ''
    runHook preInstall

    install -dm 0755 $out/share/icons
    cp -R dist $out/share/icons/layan-cursors

    runHook postInstall
  '';

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Cursor theme inspired by layan gtk theme and based on capitaine-cursors";
    changelog = "https://github.com/vinceliuice/Layan-cursors/releases/tag/${finalAttrs.version}/CHANGELOG.md";
    homepage = "https://github.com/vinceliuice/Layan-cursors/";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ idlip ];
  };

})