diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-10-30 19:13:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-30 19:13:22 +0100 |
| commit | a2144b36c7f394f89b82b3f6a83841458c8e1076 (patch) | |
| tree | 8149593bde575f428d146affa98b3aede97a1fc7 /pkgs/development/python-modules/python-gitlab | |
| parent | ffdd42b7af97bb7f772dd0408df24275af361b37 (diff) | |
python310Packages.python-gitlab: add optional-dependencies
- specify license
Diffstat (limited to 'pkgs/development/python-modules/python-gitlab')
| -rw-r--r-- | pkgs/development/python-modules/python-gitlab/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix index e0edec36c05a..63cfb7c38846 100644 --- a/pkgs/development/python-modules/python-gitlab/default.nix +++ b/pkgs/development/python-modules/python-gitlab/default.nix @@ -17,17 +17,24 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "sha256-25Rytq5PupaLQJ3DL67iDdZQiQZdqpPgjSG3lqZdZXg="; + hash = "sha256-25Rytq5PupaLQJ3DL67iDdZQiQZdqpPgjSG3lqZdZXg="; }; propagatedBuildInputs = [ - argcomplete - pyyaml requests requests-toolbelt ]; - # tests rely on a gitlab instance on a local docker setup + passthru.optional-dependencies = { + autocompletion = [ + argcomplete + ]; + yaml = [ + pyyaml + ]; + }; + + # Tests rely on a gitlab instance on a local docker setup doCheck = false; pythonImportsCheck = [ @@ -37,7 +44,7 @@ buildPythonPackage rec { meta = with lib; { description = "Interact with GitLab API"; homepage = "https://github.com/python-gitlab/python-gitlab"; - license = licenses.lgpl3; + license = licenses.lgpl3Only; maintainers = with maintainers; [ nyanloutre ]; }; } |
