Unverified Commit 1f1cce51 authored by Nick Cao's avatar Nick Cao
Browse files

python311Packages.nvchecker: set passthru.optional-dependencies

parent a5c53097
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -14,6 +14,9 @@
, structlog
, tomli
, tornado
, awesomeversion
, packaging
, lxml
}:

buildPythonPackage rec {
@@ -71,6 +74,13 @@ buildPythonPackage rec {
    "-m 'not needs_net'"
  ];

  optional-dependencies = {
    # vercmp = [ pyalpm ];
    awesomeversion = [ awesomeversion ];
    pypi = [ packaging ];
    htmlparser = [ lxml ];
  };

  meta = with lib; {
    description = "New version checker for software";
    homepage = "https://github.com/lilydjwg/nvchecker";