summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/gitpython
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 16:01:06 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 17:32:03 +0200
commit59b1aef59071cae6e87859dc65de973d2cc595c0 (patch)
tree18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/gitpython
parent691216eca3d0ce5ad6ac10562e75910fa02415b0 (diff)
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/gitpython')
-rw-r--r--pkgs/development/python-modules/gitpython/default.nix27
1 files changed, 12 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/gitpython/default.nix b/pkgs/development/python-modules/gitpython/default.nix
index eca3c326d0eb..a7f45bd7b3db 100644
--- a/pkgs/development/python-modules/gitpython/default.nix
+++ b/pkgs/development/python-modules/gitpython/default.nix
@@ -1,12 +1,13 @@
-{ lib
-, buildPythonPackage
-, ddt
-, fetchFromGitHub
-, gitdb
-, pkgs
-, pythonOlder
-, substituteAll
-, typing-extensions
+{
+ lib,
+ buildPythonPackage,
+ ddt,
+ fetchFromGitHub,
+ gitdb,
+ pkgs,
+ pythonOlder,
+ substituteAll,
+ typing-extensions,
}:
buildPythonPackage rec {
@@ -27,9 +28,7 @@ buildPythonPackage rec {
ddt
gitdb
pkgs.gitMinimal
- ] ++ lib.optionals (pythonOlder "3.10") [
- typing-extensions
- ];
+ ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ];
postPatch = ''
substituteInPlace git/cmd.py \
@@ -39,9 +38,7 @@ buildPythonPackage rec {
# Tests require a git repo
doCheck = false;
- pythonImportsCheck = [
- "git"
- ];
+ pythonImportsCheck = [ "git" ];
meta = with lib; {
description = "Python Git Library";