libindicator: remove unnecessary ? null from inputs, remove global with lib

This commit is contained in:
Sandro Jäckel 2022-11-27 22:28:34 +01:00
parent ceee02670c
commit 7f19a1d1fe
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,8 +1,6 @@
{ stdenv, fetchurl, lib, file
, pkg-config
, gtkVersion ? "3", gtk2 ? null, gtk3 ? null }:
with lib;
, gtkVersion ? "3", gtk2, gtk3 }:
stdenv.mkDerivation rec {
pname = "libindicator-gtk${gtkVersion}";
@ -40,7 +38,7 @@ stdenv.mkDerivation rec {
doCheck = false; # fails 8 out of 8 tests
meta = {
meta = with lib; {
description = "A set of symbols and convenience functions for Ayatana indicators";
homepage = "https://launchpad.net/libindicator";
license = licenses.gpl3;