@@ -15819,13 +15819,21 @@ (define-public python-immutables
(version "0.18")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "immutables" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MagicStack/immutables")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1x4cinh0xbl6p6p2yfm2s07mxxy3lf0zzai9gqpydk4482bwfdjk"))))
+ (base32 "1xjbkgls0dqrvpg4yzkdzz6aayizxcv5chjc5gyynk196wyshw4m"))))
(build-system pyproject-build-system)
- (native-inputs (list python-mypy python-pytest
- python-setuptools python-wheel))
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-mypy-dependency
+ (lambda _
+ (delete-file "tests/test_mypy.py")
+ (delete-file "tests/conftest.py"))))))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/MagicStack/immutables")
(synopsis "High-performance immutable mapping type for Python")
(description