Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, ddt, fetchFromGitHub, gitdb, pkgs, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "gitpython"; version = "3.1.46"; pyproject = true;
src = fetchFromGitHub { owner = "gitpython-developers"; repo = "GitPython"; tag = finalAttrs.version; hash = "sha256-ymuJlxGEmWwvmVFYiIW23k5Gl2h09ugFLPosnUWg5S0="; };
postPatch = '' substituteInPlace git/cmd.py \ --replace 'git_exec_name = "git"' 'git_exec_name = "${pkgs.gitMinimal}/bin/git"' '';
build-system = [ setuptools ];
dependencies = [ ddt gitdb pkgs.gitMinimal ];
# Tests require a git repo doCheck = false;
pythonImportsCheck = [ "git" ];
meta = { description = "Python Git Library"; homepage = "https://github.com/gitpython-developers/GitPython"; changelog = "https://github.com/gitpython-developers/GitPython/blob/${finalAttrs.src.tag}/doc/source/changes.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; };})