Merge pull request #248785 from tjni/git-filter-repo

python3.pkgs.git-filter-repo: fix duplicate script error during install
This commit is contained in:
Theodore Ni 2023-08-18 16:12:37 -07:00 committed by GitHub
commit eed52c3d78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, fetchpatch
, fetchPypi
, pythonOlder
, setuptools-scm
@ -17,6 +18,16 @@ buildPythonPackage rec {
hash = "sha256-/hdT4Y8L1tPJtXhoyAEa59BWpuurcGcGOWoV71MScl4=";
};
patches = [
# https://github.com/newren/git-filter-repo/pull/498
(fetchpatch {
name = "remove-duplicate-script.patch";
url = "https://github.com/newren/git-filter-repo/commit/a59e67e7918e577147ca36a70916741be029c878.patch";
hash = "sha256-b0QHy9wMWuBWQoptdvLRT+9SRx2u2+11PnzEEB5F0Yo=";
stripLen = 1;
})
];
nativeBuildInputs = [
setuptools-scm
];