Unverified Commit abf90659 authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

cosmic-icons: refactor (#385069)

parents 2fafa342 3d44c8de
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -7,14 +7,14 @@
  hicolor-icon-theme,
  nix-update-script,
}:
stdenvNoCC.mkDerivation {
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "cosmic-icons";
  version = "1.0.0-alpha.6";

  src = fetchFromGitHub {
    owner = "pop-os";
    repo = "cosmic-icons";
    rev = "epoch-1.0.0-alpha.6";
    tag = "epoch-${finalAttrs.version}";
    hash = "sha256-j5H2+BOWxq2jShN15QCvj9rY6OK+vlUbyR9R07Ka2rA=";
  };

@@ -35,17 +35,22 @@ stdenvNoCC.mkDerivation {

  passthru.updateScript = nix-update-script {
    extraArgs = [
      "--version"
      "unstable"
      "--version-regex"
      "epoch-(.*)"
    ];
  };

  meta = with lib; {
  meta = {
    description = "System76 Cosmic icon theme for Linux";
    homepage = "https://github.com/pop-os/cosmic-icons";
    license = with licenses; [
    license = with lib.licenses; [
      cc-by-sa-40
    ];
    maintainers = with maintainers; [ a-kenji ];
    maintainers = with lib.maintainers; [
      a-kenji
      HeitorAugustoLN
    ];
  };
}
})