@@ -716,6 +716,42 @@ environments.")
(define-public python2-anaconda-client
(package-with-python2 python-anaconda-client))
+(define-public python-conda-package-handling
+ (package
+ (name "python-conda-package-handling")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/conda/conda-package-handling/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qjraqb10bnnr329n68s97lkxh8mxchd6dmsynd0n6i9h49hhfgq"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-six" ,python-six)
+ ("python-libarchive-c" ,python-libarchive-c)
+ ("python-tqdm" ,python-tqdm)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; TODO: Tests fail.
+ (invoke "pytest" "-vv" "tests"))))))
+ (home-page "https://conda.io")
+ (synopsis "Create and extract conda packages of various formats")
+ (description
+ "This library is an abstraction of conda package handling and a tool for
+extracting, creating, and converting between formats.")
+ (license license:bsd-3)))
+
(define-public python-conda
(package
(name "python-conda")