Merge pull request #198244 from fabaff/gitpython-bump

python310Packages.GitPython: 3.1.27 -> 3.1.29
This commit is contained in:
Fabian Affolter 2022-12-06 08:56:32 +01:00 committed by GitHub
commit 26d68b5350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 419 additions and 236 deletions

View file

@ -2,7 +2,7 @@
}:
with nixpkgs;
let
pyEnv = python3.withPackages(ps: [ ps.GitPython ]);
pyEnv = python3.withPackages(ps: [ ps.gitpython ]);
in
mkShell {
packages = [

View file

@ -2,7 +2,7 @@
with pkgs;
let
pyEnv = python3.withPackages (ps: [ ps.GitPython ]);
pyEnv = python3.withPackages (ps: [ ps.gitpython ]);
in
mkShell {

View file

@ -3,7 +3,7 @@
# Ideally, pkgs points to default.nix file of Nixpkgs official tree
with pkgs;
let
pyEnv = python3.withPackages (ps: [ ps.GitPython ]);
pyEnv = python3.withPackages (ps: [ ps.gitpython ]);
in
mkShell {

View file

@ -4,7 +4,7 @@
, fetchFromGitHub
, cmake
, ninja
, GitPython
, gitpython
, boost
, coin3d
, eigen
@ -68,7 +68,7 @@ mkDerivation rec {
];
buildInputs = [
GitPython # for addon manager
gitpython # for addon manager
boost
coin3d
eigen

View file

@ -1,5 +1,5 @@
{ lib
, GitPython
, gitpython
, buildPythonApplication
, emoji
, fetchFromGitHub
@ -18,7 +18,6 @@ buildPythonApplication rec {
pname = "terraform-compliance";
version = "1.2.11";
# No tests in Pypi package
src = fetchFromGitHub {
owner = "eerkunt";
repo = pname;
@ -31,7 +30,9 @@ buildPythonApplication rec {
--replace "IPython==7.16.1" "IPython"
'';
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
disabledTests = [
"test_which_success"
@ -39,7 +40,7 @@ buildPythonApplication rec {
];
propagatedBuildInputs = [
GitPython
gitpython
emoji
filetype
ipython

View file

@ -1,21 +1,18 @@
{
# Nix
lib
, buildPythonApplication
, fetchPypi
, # Build inputs
altair
{ lib
, altair
, blinker
, click
, buildPythonApplication
, cachetools
, GitPython
, click
, fetchPypi
, gitpython
, importlib-metadata
, jinja2
, pillow
, protobuf3
, pyarrow
, pydeck
, pympler
, protobuf3
, requests
, rich
, semver
@ -25,7 +22,6 @@
, tzlocal
, validators
, watchdog
,
}:
buildPythonApplication rec {
@ -43,7 +39,7 @@ buildPythonApplication rec {
blinker
cachetools
click
GitPython
gitpython
importlib-metadata
jinja2
pillow

View file

@ -22,7 +22,7 @@ python3.pkgs.buildPythonApplication rec {
datrie
docutils
filelock
GitPython
gitpython
jinja2
jsonschema
nbformat

View file

@ -1,29 +1,38 @@
{ lib
, buildPythonApplication
, fetchPypi
, annexremote
, buildPythonApplication
, drivelib
, GitPython
, tenacity
, fetchPypi
, gitpython
, humanfriendly
, tenacity
}:
buildPythonApplication rec {
pname = "git-annex-remote-googledrive";
version = "1.3.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0rwjcdvfgzdlfgrn1rrqwwwiqqzyh114qddrbfwd46ld5spry6r1";
};
propagatedBuildInputs = [ annexremote drivelib GitPython tenacity humanfriendly ];
propagatedBuildInputs = [
annexremote
drivelib
gitpython
tenacity
humanfriendly
];
# while git-annex does come with a testremote command that *could* be used,
# testing this special remote obviously depends on authenticating with google
doCheck = false;
pythonImportsCheck = [ "git_annex_remote_googledrive" ];
pythonImportsCheck = [
"git_annex_remote_googledrive"
];
meta = with lib; {
description = "A git-annex special remote for Google Drive";

View file

@ -9,8 +9,6 @@ python3.pkgs.buildPythonApplication rec {
version = "2.1.0";
format = "setuptools";
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "EMPRI-DEVOPS";
repo = pname;
@ -21,7 +19,7 @@ python3.pkgs.buildPythonApplication rec {
propagatedBuildInputs = with python3.pkgs; [
click
git-filter-repo
GitPython
gitpython
pynacl
setuptools
];

View file

@ -1,5 +1,9 @@
{ lib, buildPythonApplication, fetchPypi
, colorama, GitPython }:
{ lib
, buildPythonApplication
, colorama
, fetchPypi
, gitpython
}:
buildPythonApplication rec {
pname = "gitup";
@ -10,7 +14,10 @@ buildPythonApplication rec {
sha256 = "1pa612rcc94nc461zs9sag9p46sycc214622b06gdn35rmwp0y2g";
};
propagatedBuildInputs = [ colorama GitPython ];
propagatedBuildInputs = [
colorama
gitpython
];
# no tests
doCheck = false;
@ -19,7 +26,6 @@ buildPythonApplication rec {
description = "Easily update multiple Git repositories at once";
homepage = "https://github.com/earwig/git-repo-updater";
license = licenses.mit;
maintainers = [ maintainers.bdesham ];
platforms = platforms.all;
maintainers = with maintainers; [bdesham ];
};
}

View file

@ -1,4 +1,7 @@
{ lib, pythonPackages, git }:
{ lib
, pythonPackages
, git
}:
pythonPackages.buildPythonApplication rec {
pname = "git-up";
@ -10,7 +13,16 @@ pythonPackages.buildPythonApplication rec {
};
# git should be on path for tool to work correctly
propagatedBuildInputs = [ git ] ++ (with pythonPackages; [ click colorama docopt GitPython six termcolor ]);
propagatedBuildInputs = [
git
] ++ (with pythonPackages; [
click
colorama
docopt
gitpython
six
termcolor
]);
checkInputs = [ git pythonPackages.nose ]; # git needs to be on path
# 1. git fails to run as it cannot detect the email address, so we set it

View file

@ -1,8 +1,11 @@
{ lib, python3Packages }:
{ lib
, python3Packages
}:
python3Packages.buildPythonApplication rec {
pname = "legit";
version = "1.2.0";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "0ngh3ar6v15516f52j21k6qz7hykmxfjadhb2rakvl27b5xvjy1c";
@ -12,7 +15,7 @@ python3Packages.buildPythonApplication rec {
click
clint
crayons
GitPython
gitpython
six
];

View file

@ -1,13 +0,0 @@
diff --git a/git/cmd.py b/git/cmd.py
index a4faefe..51ad442 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -175,7 +175,7 @@ class Git(LazyMixin):
# CONFIGURATION
- git_exec_name = "git" # default that should work on linux and windows
+ git_exec_name = "@git@/bin/git"
# Enables debugging of GitPython's git commands
GIT_PYTHON_TRACE = os.environ.get("GIT_PYTHON_TRACE", False)

View file

@ -11,7 +11,7 @@
, cppheaderparser
, dpkt
, fetchFromGitHub
, GitPython
, gitpython
, itanium-demangler
, mulpyplexer
, nampa
@ -53,7 +53,7 @@ buildPythonPackage rec {
cle
cppheaderparser
dpkt
GitPython
gitpython
itanium-demangler
mulpyplexer
nampa

View file

@ -25,7 +25,7 @@
, flask-caching
, flask-session
, flask-wtf
, GitPython
, gitpython
, graphviz
, gunicorn
, httpx
@ -161,7 +161,7 @@ buildPythonPackage rec {
flask-session
flask-wtf
flask-login
GitPython
gitpython
graphviz
gunicorn
httpx

View file

@ -1,31 +1,35 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchPypi
, lib
, isPy3k
# pythonPackages
, GitPython
, pythonOlder
, gitpython
, pbr
, pyyaml
, six
, rich
, stevedore
}:
buildPythonPackage rec {
pname = "bandit";
version = "1.7.4";
disabled = !isPy3k;
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-LWOoxXNBe64ziWLUubBvvGCA907NlVoJKEnh5lxxe9I=";
hash = "sha256-LWOoxXNBe64ziWLUubBvvGCA907NlVoJKEnh5lxxe9I=";
};
propagatedBuildInputs = [
GitPython
nativeBuildInputs = [
pbr
];
propagatedBuildInputs = [
gitpython
pyyaml
six
rich
stevedore
];
@ -33,12 +37,15 @@ buildPythonPackage rec {
# and this requires Network Connectivity
doCheck = false;
meta = {
pythonImportsCheck = [
"bandit"
];
meta = with lib; {
description = "Security oriented static analyser for python code";
homepage = "https://bandit.readthedocs.io/en/latest/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
kamadorueda
];
homepage = "https://bandit.readthedocs.io/";
changelog = "https://github.com/PyCQA/bandit/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ kamadorueda ];
};
}

View file

@ -1,23 +1,49 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, krb5Full, nose, GitPython, mock, git }:
{ lib
, buildPythonPackage
, fetchPypi
, git
, gitpython
, krb5Full
, mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "CCColUtils";
pname = "cccolutils";
version = "1.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "1gwcq4xan9as1j3q9k2zqrywxp46qx0ljwxbck9id2fvilds6ck3";
pname = "CCColUtils";
inherit version;
hash = "sha256-YzKjG43biRbTZKtzSUHHhtzOfcZfzISHDFolqzrBjL8=";
};
buildInputs = [ krb5Full ];
propagatedBuildInputs = [ nose GitPython mock git ];
buildInputs = [
krb5Full
];
doCheck = isPy3k; # needs unpackaged module to run tests on python2
propagatedBuildInputs = [
git
gitpython
mock
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"cccolutils"
];
meta = with lib; {
description = "Python Kerberos 5 Credential Cache Collection Utilities";
homepage = "https://pagure.io/cccolutils";
license = licenses.gpl2;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ disassembler ];
};
}

View file

@ -13,7 +13,7 @@
, langdetect
, parameterized
, pytestCheckHook
, GitPython
, gitpython
, parsel
, requests
, ruamel-yaml
@ -50,7 +50,7 @@ buildPythonPackage rec {
checkInputs = [
parameterized
pytestCheckHook
GitPython
gitpython
parsel
requests
ruamel-yaml

View file

@ -1,24 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, GitPython
, gitpython
, pythonOlder
}:
buildPythonPackage rec {
pname = "git-sweep";
version = "0.1.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "1csp0zd049d643d409rfivbswwzrayb4i6gkypp5mc27fb1z2afd";
hash = "sha256-zSnxw3JHsFru9fOZSJZX+XOu144uJ0DaIKYlAtoHV7M=";
};
propagatedBuildInputs = [ GitPython ];
propagatedBuildInputs = [
gitpython
];
# no tests
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "gitsweep" ];
pythonImportsCheck = [
"gitsweep"
];
meta = with lib; {
description = "A command-line tool that helps you clean up Git branches";
@ -26,5 +34,4 @@ buildPythonPackage rec {
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
};
}

View file

@ -1,44 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, substituteAll
, git
, gitdb
, ddt
, fetchFromGitHub
, gitdb
, pkgs
, pythonOlder
, substituteAll
, typing-extensions
}:
buildPythonPackage rec {
pname = "gitpython";
version = "3.1.27";
version = "3.1.29";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "gitpython-developers";
repo = "GitPython";
rev = version;
sha256 = "sha256-RA+6JFXHUQoXGErV8+aYuJPsfXzNSZK3kTm6eMbQIss=";
hash = "sha256-RNDBoGWnkirPZjxn5oqH3zwYqVFLedNrSRpZOHU0j+w=";
};
patches = [
(substituteAll {
src = ./hardcode-git-path.patch;
inherit git;
})
];
propagatedBuildInputs = [
gitdb
ddt
gitdb
pkgs.gitMinimal
] ++ lib.optionals (pythonOlder "3.10") [
typing-extensions
];
postPatch = ''
substituteInPlace git/cmd.py \
--replace 'git_exec_name = "git"' 'git_exec_name = "${pkgs.gitMinimal}/bin/git"'
'';
# Tests require a git repo
doCheck = false;
pythonImportsCheck = [ "git" ];
pythonImportsCheck = [
"git"
];
meta = with lib; {
description = "Python Git Library";

View file

@ -3,7 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, GitPython
, gitpython
, isort
, jupyter-client
, jupyter-packaging
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "mwouts";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-DDF4aTLkhEl4xViYh/E0/y6swcwZ9KbeS0qKm+HdFz8=";
hash = "sha256-DDF4aTLkhEl4xViYh/E0/y6swcwZ9KbeS0qKm+HdFz8=";
};
patches = [
@ -53,7 +53,7 @@ buildPythonPackage rec {
];
checkInputs = [
GitPython
gitpython
isort
jupyter-client
notebook

View file

@ -3,7 +3,7 @@
, buildPythonPackage
, click
, fetchPypi
, GitPython
, gitpython
, networkx
, pydot
, PyGithub
@ -28,7 +28,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
atomicwrites
click
GitPython
gitpython
networkx
pydot
PyGithub

View file

@ -9,7 +9,7 @@
, fetchpatch
, fetchPypi
, flask
, GitPython
, gitpython
, gorilla
, gunicorn
, importlib-metadata
@ -50,7 +50,7 @@ buildPythonPackage rec {
docker
entrypoints
flask
GitPython
gitpython
gorilla
gunicorn
importlib-metadata
@ -81,6 +81,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Open source platform for the machine learning lifecycle";
homepage = "https://github.com/mlflow/mlflow";
changelog = "https://github.com/mlflow/mlflow/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ tbenst ];
};

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, pythonOlder
, hypothesis
, setuptools-scm
, six
@ -19,7 +19,7 @@
, pygments
, tornado
, requests
, GitPython
, gitpython
, jupyter-server-mathjax
, notebook
, jinja2
@ -28,14 +28,18 @@
buildPythonPackage rec {
pname = "nbdime";
version = "3.1.1";
disabled = !isPy3k;
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "67767320e971374f701a175aa59abd3a554723039d39fae908e72d16330d648b";
hash = "sha256-Z3ZzIOlxN09wGhdapZq9OlVHIwOdOfrpCOctFjMNZIs=";
};
nativeBuildInputs = [ setuptools-scm ];
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
attrs
@ -48,7 +52,7 @@ buildPythonPackage rec {
pygments
tornado
requests
GitPython
gitpython
notebook
jinja2
];
@ -78,6 +82,10 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [
"nbdime"
];
meta = with lib; {
homepage = "https://github.com/jupyter/nbdime";
description = "Tools for diffing and merging of Jupyter notebooks.";

View file

@ -3,7 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, git
, GitPython
, gitpython
, pycryptodomex
, pytestCheckHook
, pythonOlder
@ -25,7 +25,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
bitcoinlib
GitPython
gitpython
pycryptodomex
];
@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Create and verify OpenTimestamps proofs";
homepage = "https://github.com/opentimestamps/python-opentimestamps";
changelog = "https://github.com/opentimestamps/python-opentimestamps/releases/tag/python-opentimestamps-v${version}";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ erikarvstedt ];
};

View file

@ -1,32 +1,68 @@
{ lib, buildPythonPackage, fetchFromGitHub, GitPython
, libpcap, meson, ninja, pillow, pkg-config, pygobject3, SDL2
, alsa-lib, soundtouch, openal
{ lib
, alsa-lib
, buildPythonPackage
, fetchFromGitHub
, gitpython
, libpcap
, meson
, ninja
, openal
, pillow
, pkg-config
, pygobject3
, pythonOlder
, SDL2
, soundtouch
}:
buildPythonPackage rec {
pname = "py-desmume";
version = "0.0.4.post2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
sha256 = "sha256-a819+K/Ovnz53ViDKpUGGjeblWvrAO5ozt/tizdLKCY=";
hash = "sha256-a819+K/Ovnz53ViDKpUGGjeblWvrAO5ozt/tizdLKCY=";
fetchSubmodules = true;
};
buildInputs = [ GitPython libpcap SDL2 alsa-lib soundtouch openal ];
nativeBuildInputs = [ meson ninja pkg-config ];
propagatedBuildInputs = [ pillow pygobject3 ];
nativeBuildInputs = [
meson
ninja
pkg-config
];
hardeningDisable = [ "format" ];
buildInputs = [
alsa-lib
gitpython
libpcap
openal
SDL2
soundtouch
];
propagatedBuildInputs = [
pillow
pygobject3
];
hardeningDisable = [
"format"
];
doCheck = false; # there are no tests
pythonImportsCheck = [ "desmume" ];
pythonImportsCheck = [
"desmume"
];
meta = with lib; {
homepage = "https://github.com/SkyTemple/py-desmume";
description = "Python library to interface with DeSmuME, the Nintendo DS emulator";
homepage = "https://github.com/SkyTemple/py-desmume";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ xfix ];
};

View file

@ -12,7 +12,7 @@
, tomli
, tomlkit
, typing-extensions
, GitPython
, gitpython
, pytest-timeout
, pytest-xdist
, pytestCheckHook
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "PyCQA";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JTFGplqIA6WavwzKOkrm1rHBKNRrplBPvAdEkb/fTlI=";
hash = "sha256-JTFGplqIA6WavwzKOkrm1rHBKNRrplBPvAdEkb/fTlI=";
};
nativeBuildInputs = [
@ -56,7 +56,7 @@ buildPythonPackage rec {
'';
checkInputs = [
GitPython
gitpython
# https://github.com/PyCQA/pylint/blob/main/requirements_test_min.txt
pytest-timeout
pytest-xdist

View file

@ -5,7 +5,7 @@
, fetchFromGitHub
, fsspec
, funcy
, GitPython
, gitpython
, pathspec
, pygit2
, pygtrie
@ -42,7 +42,7 @@ buildPythonPackage rec {
dulwich
fsspec
funcy
GitPython
gitpython
pathspec
pygit2
pygtrie

View file

@ -1,36 +1,41 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k
, opencv3
, pyqt5
, pyqtgraph
, numpy
, scipy
, numba
, pandas
, tables
, git
, scikitimage
, matplotlib
, qdarkstyle
, GitPython
{ lib
, anytree
, pims
, arrayqueues
, av
, buildPythonPackage
, colorspacious
, fetchPypi
, flammkuchen
, git
, gitpython
, imageio
, imageio-ffmpeg
, av
, nose
, pytestCheckHook
, pyserial
, arrayqueues
, colorspacious
, qimage2ndarray
, flammkuchen
, lightparam
, matplotlib
, nose
, numba
, numpy
, opencv3
, pandas
, pims
, pyqt5
, pyqtgraph
, pyserial
, pytestCheckHook
, pythonOlder
, qdarkstyle
, qimage2ndarray
, scikitimage
, scipy
, tables
}:
buildPythonPackage rec {
pname = "stytra";
version = "0.8.34";
disabled = !isPy3k;
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@ -42,12 +47,6 @@ buildPythonPackage rec {
rm stytra/tests/test_z_experiments.py
'';
checkInputs = [
nose
pytestCheckHook
pyserial
];
propagatedBuildInputs = [
opencv3
pyqt5
@ -61,7 +60,7 @@ buildPythonPackage rec {
scikitimage
matplotlib
qdarkstyle
GitPython
gitpython
anytree
qimage2ndarray
flammkuchen
@ -74,10 +73,16 @@ buildPythonPackage rec {
av
];
meta = {
homepage = "https://github.com/portugueslab/stytra";
checkInputs = [
nose
pytestCheckHook
pyserial
];
meta = with lib; {
description = "A modular package to control stimulation and track behaviour";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ tbenst ];
homepage = "https://github.com/portugueslab/stytra";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ tbenst ];
};
}

View file

@ -1,28 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, debian-inspector
, docker
, dockerfile-parse
, fetchPypi
, gitpython
, idna
, license-expression
, packageurl-python
, pbr
, prettytable
, pythonOlder
, pyyaml
, regex
, requests
, stevedore
, pbr
, debian-inspector
, license-expression
, regex
, GitPython
, prettytable
, idna
, packageurl-python
}:
buildPythonPackage rec {
pname = "tern";
version = "2.10.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MMsq8/Obe3ogQSjiP8EebYseUJGcchMOczUrxE9jht4=";
hash = "sha256-MMsq8/Obe3ogQSjiP8EebYseUJGcchMOczUrxE9jht4=";
};
preBuild = ''
@ -42,7 +46,7 @@ buildPythonPackage rec {
stevedore
debian-inspector
regex
GitPython
gitpython
prettytable
idna
packageurl-python
@ -58,6 +62,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A software composition analysis tool and Python library that generates a Software Bill of Materials for container images and Dockerfiles";
homepage = "https://github.com/tern-tools/tern";
changelog = "https://github.com/tern-tools/tern/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = teams.determinatesystems.members;
};

View file

@ -1,4 +1,13 @@
{ lib, buildPythonPackage, fetchFromGitHub, GitPython, click, ordered-set, pillow, sortedcollections }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, gitpython
, click
, ordered-set
, pythonOlder
, pillow
, sortedcollections
}:
let
aikku93-tilequant = fetchFromGitHub {
@ -11,6 +20,9 @@ in
buildPythonPackage rec {
pname = "tilequant";
version = "0.4.0.post0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "SkyTemple";
@ -23,15 +35,26 @@ buildPythonPackage rec {
cp -R --no-preserve=mode ${aikku93-tilequant} __aikku93_tilequant
'';
buildInputs = [ GitPython ];
propagatedBuildInputs = [ click ordered-set pillow sortedcollections ];
buildInputs = [
gitpython
];
propagatedBuildInputs = [
click
ordered-set
pillow
sortedcollections
];
doCheck = false; # there are no tests
pythonImportsCheck = [ "skytemple_tilequant" ];
pythonImportsCheck = [
"skytemple_tilequant"
];
meta = with lib; {
homepage = "https://github.com/SkyTemple/tilequant";
description = "Tool for quantizing image colors using tile-based palette restrictions";
homepage = "https://github.com/SkyTemple/tilequant";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ xfix ];
};

View file

@ -2,7 +2,7 @@
, backoff
, buildPythonPackage
, fetchFromGitHub
, GitPython
, gitpython
, pytestCheckHook
, pythonOlder
, requests
@ -23,7 +23,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
GitPython
gitpython
backoff
];
@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Find the version of another package, whether installed via pip, setuptools or git";
homepage = "https://github.com/jantman/versionfinder";
changelog = "https://github.com/jantman/versionfinder/blob/${version}/CHANGES.rst";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ zakame ];
};

View file

@ -8,7 +8,7 @@
, fetchFromGitHub
, flask
, git
, GitPython
, gitpython
, jsonref
, jsonschema
, matplotlib
@ -67,7 +67,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
click
docker_pycreds
GitPython
gitpython
pathtools
promise
protobuf

View file

@ -1,4 +1,6 @@
{ lib, python3Packages }:
{ lib
, python3Packages
}:
with python3Packages;
@ -22,7 +24,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [
click
GitPython
gitpython
pony
whoosh
natsort

View file

@ -70,7 +70,7 @@ buildPythonApplication rec {
dockerfile-parse
dpath
flake8
GitPython
gitpython
jmespath
jsonpath-ng
jsonschema

View file

@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
];
checkInputs = with python3.pkgs; [
GitPython
gitpython
psutil
pytestCheckHook
];

View file

@ -1,12 +1,12 @@
{ fetchFromGitLab
{ lib
, fetchFromGitLab
, python
, lib
, apksigner
}:
python.pkgs.buildPythonApplication rec {
version = "2.1.1";
pname = "fdroidserver";
version = "2.1.1";
src = fetchFromGitLab {
owner = "fdroid";
@ -16,24 +16,28 @@ python.pkgs.buildPythonApplication rec {
};
postPatch = ''
substituteInPlace fdroidserver/common.py --replace "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'"
substituteInPlace fdroidserver/common.py \
--replace "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'"
'';
preConfigure = ''
${python.interpreter} setup.py compile_catalog
'';
postInstall = ''
patchShebangs gradlew-fdroid
install -m 0755 gradlew-fdroid $out/bin
'';
buildInputs = [ python.pkgs.babel ];
buildInputs = with python.pkgs; [
babel
];
propagatedBuildInputs = with python.pkgs; [
androguard
clint
defusedxml
GitPython
gitpython
libcloud
mwclient
paramiko
@ -59,7 +63,7 @@ python.pkgs.buildPythonApplication rec {
homepage = "https://f-droid.org";
description = "Server and tools for F-Droid, the Free Software repository system for Android";
license = licenses.agpl3;
maintainers = [ lib.maintainers.obfusk ];
maintainers = with maintainers; [ obfusk ];
};
}

View file

@ -1,6 +1,21 @@
{ lib, callPackage, python3Packages, fetchFromGitLab, cacert
, rustPlatform, bubblewrap, git, perlPackages, imagemagick, fetchurl, fetchzip
, jre, makeWrapper, tr-patcher, tes3cmd, openmw }:
{ lib
, bubblewrap
, cacert
, callPackage
, fetchFromGitLab
, fetchurl
, fetchzip
, git
, imagemagick
, jre
, makeWrapper
, openmw
, perlPackages
, python3Packages
, rustPlatform
, tes3cmd
, tr-patcher
}:
let
version = "2.1.0";
@ -9,7 +24,7 @@ let
owner = "portmod";
repo = "Portmod";
rev = "v${version}";
sha256 = "sha256-b/ENApFovMPNUMbJhwY+TZCnSzpr1e/IKJ/5XAGTQjE=";
hash = "sha256-b/ENApFovMPNUMbJhwY+TZCnSzpr1e/IKJ/5XAGTQjE=";
};
portmod-rust = rustPlatform.buildRustPackage rec {
@ -18,7 +33,9 @@ let
cargoHash = "sha256-3EfMMpSWSYsB3nXaoGGDuKQ9duyCKzbrT6oeATnzqLE=";
nativeBuildInputs = [ python3Packages.python ];
nativeBuildInputs = [
python3Packages.python
];
doCheck = false;
};
@ -56,7 +73,7 @@ python3Packages.buildPythonApplication rec {
colorama
restrictedpython
appdirs
GitPython
gitpython
progressbar2
python-sat
redbaron
@ -94,10 +111,10 @@ python3Packages.buildPythonApplication rec {
"--prefix" "PATH" ":" "${lib.makeBinPath bin-programs }")
'';
meta = {
meta = with lib; {
description = "mod manager for openMW based on portage";
homepage = "https://gitlab.com/portmod/portmod";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ marius851000 ];
license = licenses.gpl3Only;
maintainers = with maintainers; [ marius851000 ];
};
}

View file

@ -1,27 +1,40 @@
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k
, opentimestamps, appdirs, GitPython, pysocks, fetchpatch, git
{ lib
, fetchFromGitHub
, python3
}:
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "opentimestamps-client";
version = "0.7.1";
disabled = (!isPy3k);
format = "setuptools";
# We can't use the pypi source because it doesn't include README.md which is
# needed in setup.py
src = fetchFromGitHub {
owner = "opentimestamps";
repo = "opentimestamps-client";
rev = "refs/tags/opentimestamps-client-v${version}";
sha256 = "sha256-0dWaXetRlF1MveBdJ0sAdqJ5HCdn08gkbX+nen/ygsQ=";
hash = "sha256-0dWaXetRlF1MveBdJ0sAdqJ5HCdn08gkbX+nen/ygsQ=";
};
propagatedBuildInputs = [ opentimestamps appdirs GitPython pysocks ];
propagatedBuildInputs = with python3.pkgs; [
appdirs
gitpython
opentimestamps
pysocks
];
checkInputs = with python3.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [
"otsclient"
];
meta = with lib; {
description = "Command-line tool to create and verify OpenTimestamps proofs";
homepage = "https://github.com/opentimestamps/opentimestamps-client";
license = licenses.lgpl3;
changelog = "https://github.com/opentimestamps/opentimestamps-client/releases/tag/opentimestamps-client-v${version}";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ erikarvstedt ];
};
}

View file

@ -1,4 +1,6 @@
{ lib, python3Packages }:
{ lib
, python3Packages
}:
let
truffleHogRegexes = python3Packages.buildPythonPackage rec {
@ -16,7 +18,7 @@ in
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-fw0JyM2iqQrkL4FAXllEozJdkKWELS3eAURx5NZcceQ=";
hash = "sha256-fw0JyM2iqQrkL4FAXllEozJdkKWELS3eAURx5NZcceQ=";
};
# Relax overly restricted version constraint
@ -24,15 +26,18 @@ in
substituteInPlace setup.py --replace "GitPython ==" "GitPython >= "
'';
propagatedBuildInputs = [ python3Packages.GitPython truffleHogRegexes ];
propagatedBuildInputs = [
python3Packages.gitpython
truffleHogRegexes
];
# Test cases run git clone and require network access
doCheck = false;
meta = {
meta = with lib; {
homepage = "https://github.com/dxa4481/truffleHog";
description = "Searches through git repositories for high entropy strings and secrets, digging deep into commit history";
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ bhipple ];
license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ bhipple ];
};
}

View file

@ -6,7 +6,7 @@
, urllib3
, six
, setuptools
, GitPython
, gitpython
, pythonRelaxDepsHook
}:
@ -20,11 +20,16 @@ buildPythonApplication rec {
};
# https://github.com/transifex/transifex-client/issues/323
nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDeps = [ "python-slugify" ];
nativeBuildInputs = [
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"python-slugify"
];
propagatedBuildInputs = [
GitPython
gitpython
python-slugify
requests
setuptools
@ -36,9 +41,9 @@ buildPythonApplication rec {
doCheck = false;
meta = with lib; {
description = "Transifex translation service client";
homepage = "https://www.transifex.com/";
license = licenses.gpl2Only;
description = "Transifex translation service client";
maintainers = with maintainers; [ sikmir ];
};
}

View file

@ -87,6 +87,7 @@ mapAliases ({
garminconnect-ha = garminconnect; # added 2022-02-05
gigalixir = throw "gigalixir has been promoted to a top-level attribute"; # Added 2022-10-02
gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
GitPython = gitpython; # added 2022-10-28
glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28
google_api_python_client = google-api-python-client; # added 2021-03-19
googleapis_common_protos = googleapis-common-protos; # added 2021-03-19

View file

@ -3736,18 +3736,19 @@ self: super: with self; {
git-filter-repo = callPackage ../development/python-modules/git-filter-repo { };
gitdb = callPackage ../development/python-modules/gitdb { };
git-revise = callPackage ../development/python-modules/git-revise { };
github3_py = callPackage ../development/python-modules/github3_py { };
git-sweep = callPackage ../development/python-modules/git-sweep { };
gitdb = callPackage ../development/python-modules/gitdb { };
github-to-sqlite = callPackage ../development/python-modules/github-to-sqlite { };
github-webhook = callPackage ../development/python-modules/github-webhook { };
GitPython = callPackage ../development/python-modules/GitPython { };
git-revise = callPackage ../development/python-modules/git-revise { };
github3_py = callPackage ../development/python-modules/github3_py { };
git-sweep = callPackage ../development/python-modules/git-sweep { };
gitpython = callPackage ../development/python-modules/gitpython { };
glad = callPackage ../development/python-modules/glad { };