@@ -1377,19 +1377,15 @@ (define-public python-deepdish
(uri (pypi-uri "deepdish" version))
(sha256
(base32
- "1wqzwh3y0mjdyba5kfbvlamn561d3afz50zi712c7klkysz3mzva"))))
- (arguments
- (list #:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'dont-vendor-six
- (lambda _
- (delete-file "deepdish/six.py")
- (substitute* "deepdish/io/hdf5io.py"
- (("from deepdish import six") "import six"))
- (substitute* "deepdish/io/ls.py"
- (("from deepdish import io, six, __version__")
- "from deepdish import io, __version__
-import six
-")))))))
+ "1wqzwh3y0mjdyba5kfbvlamn561d3afz50zi712c7klkysz3mzva"))
+ (modules '((guix build utils)))
+ (snippet #~(begin (delete-file "deepdish/six.py")
+ (substitute* "deepdish/io/hdf5io.py"
+ (("from deepdish import six") "import six"))
+ (substitute* "deepdish/io/ls.py"
+ (("from deepdish import io, six, __version__")
+ "from deepdish import io, __version__
+import six"))))))
(build-system python-build-system)
(native-inputs (list python-pandas))
(propagated-inputs (list python-numpy python-scipy python-six