Merge branch 'staging-next' into staging
This commit is contained in:
@@ -3,36 +3,41 @@
|
||||
, cryptography
|
||||
, deprecated
|
||||
, fetchFromGitHub
|
||||
, httpretty
|
||||
, isPy3k
|
||||
, parameterized
|
||||
, pynacl
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, requests }:
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyGithub";
|
||||
version = "1.54.1";
|
||||
disabled = !isPy3k;
|
||||
version = "1.55";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyGithub";
|
||||
repo = "PyGithub";
|
||||
rev = "v${version}";
|
||||
sha256 = "1nl74bp5ikdnrc8xq0qr25ryl1mvarf0xi43k8w5jzlrllhq0nkq";
|
||||
sha256 = "sha256-PuGCBFSbM91NtSzuyf0EQUr3LiuHDq90OwkSf53rSyA=";
|
||||
};
|
||||
|
||||
checkInputs = [ httpretty parameterized pytestCheckHook ];
|
||||
propagatedBuildInputs = [ cryptography deprecated pyjwt requests ];
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
deprecated
|
||||
pynacl
|
||||
pyjwt
|
||||
requests
|
||||
];
|
||||
|
||||
# Test suite makes REST calls against github.com
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "github" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to access the GitHub API v3";
|
||||
homepage = "https://github.com/PyGithub/PyGithub";
|
||||
description = "A Python (2 and 3) library to access the GitHub API v3";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3;
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ jhhuh ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,19 +1,36 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder, pytest, responses }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, argcomplete
|
||||
, requests
|
||||
, requests-toolbelt
|
||||
, pyyaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-gitlab";
|
||||
version = "2.6.0";
|
||||
version = "2.7.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a862c6874524ab585b725a17b2cd2950fc09d6d74205f40a11be2a4e8f2dcaa1";
|
||||
sha256 = "0z4amj5xhx5zc3h2m0zrkardm3z5ba9qpjx5n6dczyz77r527yg1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
propagatedBuildInputs = [
|
||||
argcomplete
|
||||
pyyaml
|
||||
requests
|
||||
requests-toolbelt
|
||||
];
|
||||
|
||||
checkInputs = [ mock httmock pytest responses ];
|
||||
# tests rely on a gitlab instance on a local docker setup
|
||||
doCheck = false;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
pythonImportsCheck = [
|
||||
"gitlab"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interact with GitLab API";
|
||||
|
||||
Reference in New Issue
Block a user