python310Packages.pygithub: Normalize attribute, pname, dirname

This commit is contained in:
Martin Weinelt 2023-02-19 17:42:00 +00:00
parent 0deebc3b24
commit 574ec98796
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
13 changed files with 19 additions and 18 deletions

View File

@ -129,7 +129,7 @@
imports = [ "airflow.providers.ftp.hooks.ftp" ];
};
github = {
deps = [ "PyGithub" ];
deps = [ "pygithub" ];
imports = [ "airflow.providers.github.hooks.github" "airflow.providers.github.operators.github" ];
};
google = {

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pycryptodome
, PyGithub
, pygithub
, pythonOlder
}:

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, PyGithub, python-gitlab }:
{ lib, buildPythonPackage, fetchPypi, pygithub, python-gitlab }:
buildPythonPackage rec {
pname = "criticality_score";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "0i811a27i87z3j1rw0dwrnw8v0ckbd918ms6shjawhs4cnb1c6x8";
};
propagatedBuildInputs = [ PyGithub python-gitlab ];
propagatedBuildInputs = [ pygithub python-gitlab ];
doCheck = false;

View File

@ -3,7 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, PyGithub
, pygithub
, pythonOlder
}:
@ -30,7 +30,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
beautifulsoup4
matplotlib
PyGithub
pygithub
];
# Module has no tests

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, PyGithub
, pygithub
, terminaltables
, click
, requests
@ -20,7 +20,7 @@ buildPythonPackage rec {
click
requests
terminaltables
PyGithub
pygithub
];
# no tests

View File

@ -6,7 +6,7 @@
, gitpython
, networkx
, pydot
, PyGithub
, pygithub
, pythonOlder
, pyyaml
, toml
@ -31,7 +31,7 @@ buildPythonPackage rec {
gitpython
networkx
pydot
PyGithub
pygithub
pyyaml
toml
tqdm

View File

@ -11,7 +11,7 @@
, nbclient
, nbformat
, pyarrow
, PyGithub
, pygithub
, pytest-mock
, pytestCheckHook
, pythonOlder
@ -54,7 +54,7 @@ buildPythonPackage rec {
gcsfs
];
github = [
PyGithub
pygithub
];
hdfs = [
pyarrow

View File

@ -10,7 +10,7 @@
}:
buildPythonPackage rec {
pname = "PyGithub";
pname = "pygithub";
version = "1.57";
format = "setuptools";
disabled = pythonOlder "3.6";

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }:
{ lib, fetchFromGitHub, buildPythonApplication, pyxdg, pygithub }:
buildPythonApplication rec {
pname = "cligh";
@ -13,7 +13,7 @@ buildPythonApplication rec {
sha256 = "0d1fd78rzl2n75xpmy1gnxh1shvcs4qm0j4qqszqvfriwkg2flxn";
};
propagatedBuildInputs = [ pyxdg PyGithub ];
propagatedBuildInputs = [ pyxdg pygithub ];
meta = with lib; {
homepage = "http://the-brannons.com/software/cligh.html";

View File

@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i python -p "python3.withPackages (ps: [ps.PyGithub])" git gnupg
#! nix-shell -i python -p "python3.withPackages (ps: [ps.pygithub])" git gnupg
# This is automatically called by ../update.sh.

View File

@ -137,7 +137,7 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
mock
paramiko
pydocumentdb
PyGithub
pygithub
pygments
pynacl
pyopenssl

View File

@ -171,6 +171,7 @@ mapAliases ({
Pweave = pweave; # added 2023-02-19
pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
PyGithub = pygithub; # added 2023-02-19
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
pychef = throw "pychef has been removed because it's been archived upstream and abandoned since 2017."; # added 2022-11-14

View File

@ -8130,7 +8130,7 @@ self: super: with self; {
pygit2 = callPackage ../development/python-modules/pygit2 { };
PyGithub = callPackage ../development/python-modules/pyGithub { };
pygithub = callPackage ../development/python-modules/pygithub { };
pyglet = callPackage ../development/python-modules/pyglet { };