mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #322526 from getchoo/pkgs/contrast/adopt
contrast: adopt; refactor
This commit is contained in:
commit
1bd0789b2e
@ -1,20 +1,22 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user