From d215664635e16461fba7c0cdeb8730e0156bb6fc Mon Sep 17 00:00:00 2001 From: RGBCube Date: Thu, 30 Nov 2023 22:17:13 +0300 Subject: [PATCH] Add metadata for nixpkgs --- devirations/gruvbox-icons.nix | 12 +++++++++++- devirations/material-cursors.nix | 16 +++++++++++++--- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/devirations/gruvbox-icons.nix b/devirations/gruvbox-icons.nix index 16fbeec..7f494d0 100644 --- a/devirations/gruvbox-icons.nix +++ b/devirations/gruvbox-icons.nix @@ -1,4 +1,4 @@ -{ stdenvNoCC, fetchFromGitHub }: +{ lib, stdenvNoCC, fetchFromGitHub }: stdenvNoCC.mkDerivation { pname = "gruvbox-plus-icons"; @@ -19,4 +19,14 @@ stdenvNoCC.mkDerivation { runHook postInstall ''; + + meta = with lib; { + description = "Gruvbox Plus icon pack for Linux desktops based on the Gruvbox color theme."; + homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ + RGBCube + ]; + }; } diff --git a/devirations/material-cursors.nix b/devirations/material-cursors.nix index e004c62..0c14ad1 100644 --- a/devirations/material-cursors.nix +++ b/devirations/material-cursors.nix @@ -1,4 +1,4 @@ -{ pkgs, stdenvNoCC, fetchFromGitHub }: +{ lib, pkgs, stdenvNoCC, fetchFromGitHub }: stdenvNoCC.mkDerivation { pname = "material-cursors"; @@ -27,9 +27,19 @@ stdenvNoCC.mkDerivation { installPhase = '' runHook preInstall - mkdir -p $out/share/icons/material-cursors - cp -r dist/* $out/share/icons/material-cursors + mkdir -p $out/share/icons + cp -r dist/* $out/share/icons/ runHook postInstall ''; + + meta = with lib; { + description = "Material cursors for Linux"; + homepage = "https://github.com/varlesh/material-cursors"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ + RGBCube + ]; + }; }