diff --git a/pkgs/by-name/la/layan-cursors/package.nix b/pkgs/by-name/la/layan-cursors/package.nix new file mode 100644 index 000000000000..c74853a85914 --- /dev/null +++ b/pkgs/by-name/la/layan-cursors/package.nix @@ -0,0 +1,38 @@ +{ + 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 ]; + }; + +})