Unverified Commit 1bd0789b authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #322526 from getchoo/pkgs/contrast/adopt

contrast: adopt; refactor
parents 929750f9 5759dfdd
Loading
Loading
Loading
Loading
+27 −23
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitLab
, cairo
, cargo
, desktop-file-utils
, gettext
, glib
, gtk4
, libadwaita
, meson
, ninja
, pango
, pkg-config
, rustPlatform
, rustc
, wrapGAppsHook4
{
  stdenv,
  lib,
  fetchFromGitLab,
  cairo,
  cargo,
  desktop-file-utils,
  gettext,
  glib,
  gtk4,
  libadwaita,
  meson,
  ninja,
  nix-update-script,
  pango,
  pkg-config,
  rustPlatform,
  rustc,
  wrapGAppsHook4,
}:

stdenv.mkDerivation rec {
@@ -56,14 +58,16 @@ stdenv.mkDerivation rec {
    pango
  ];

  meta = with lib; {
  passthru = {
    updateScript = nix-update-script { };
  };

  meta = {
    description = "Checks whether the contrast between two colors meet the WCAG requirements";
    homepage = "https://gitlab.gnome.org/World/design/contrast";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ ];
    platforms = platforms.unix;
    # never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
    broken = stdenv.isDarwin;
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ getchoo ];
    mainProgram = "contrast";
    platforms = lib.platforms.linux;
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -4717,8 +4717,6 @@ with pkgs;
  clockify = callPackage ../applications/office/clockify { };
  contrast = callPackage ../applications/accessibility/contrast { };
  cplex = callPackage ../applications/science/math/cplex (config.cplex or {});
  cpulimit = callPackage ../tools/misc/cpulimit { };