python310Packages.python-gitlab: add optional-dependencies
- specify license
This commit is contained in:
parent
ffdd42b7af
commit
a2144b36c7
@ -17,17 +17,24 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-25Rytq5PupaLQJ3DL67iDdZQiQZdqpPgjSG3lqZdZXg=";
|
hash = "sha256-25Rytq5PupaLQJ3DL67iDdZQiQZdqpPgjSG3lqZdZXg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
argcomplete
|
|
||||||
pyyaml
|
|
||||||
requests
|
requests
|
||||||
requests-toolbelt
|
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;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
@ -37,7 +44,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Interact with GitLab API";
|
description = "Interact with GitLab API";
|
||||||
homepage = "https://github.com/python-gitlab/python-gitlab";
|
homepage = "https://github.com/python-gitlab/python-gitlab";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3Only;
|
||||||
maintainers = with maintainers; [ nyanloutre ];
|
maintainers = with maintainers; [ nyanloutre ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user