gnu: offlate: Fix build.

* gnu/packages/python-xyz.scm (offlate)
[phases]{patch-for-pygit2}: New phase.
This commit is contained in:
Maxim Cournoyer 2022-06-06 22:33:20 -04:00
parent e3d2650726
commit ceeb2bfcae
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -24334,7 +24334,13 @@ (define-public offlate
(build-system python-build-system)
(arguments
;; No tests
`(#:tests? #f))
`(#:tests? #f
#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-for-pygit2
(lambda _
(substitute* "offlate/systems/git.py"
(("pygit2.remote.RemoteCallbacks")
"pygit2.RemoteCallbacks")))))))
(propagated-inputs
(list python-android-stringslib
python-dateutil