summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-10-15 13:42:29 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-10-15 13:43:42 +0300
commitcecee6ca7656526bc4037acfea193c07a5673c69 (patch)
tree1ea43e3904f158e5174c886722bde8b765d8e472
parent90e92befbc8379b90ef58e4bbde975ba5a99d88c (diff)
downloadguix-cecee6ca7656526bc4037acfea193c07a5673c69.tar.gz
gnu: dbxfs: Download using git-fetch.
* gnu/packages/file-systems.scm (dbxfs)[source]: Download using
git-fetch.
-rw-r--r--gnu/packages/file-systems.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index f195dc2f62..5f0c848e4c 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -1533,11 +1533,15 @@ Dropbox API v2.")
     (version "1.0.51")
     (source
       (origin
-        (method url-fetch)
-        (uri (pypi-uri "dbxfs" version))
+        ;; Release tarball contains files not in git repository.
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://thelig.ht/code/dbxfs")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
         (sha256
          (base32
-          "1zz82d0mnql55397x4jx7z5rn857rf9zhjv895j93wpxdq10xwvk"))
+          "0bidb1gg5lqa1561f20qnj7gy323q65qwzfrb8h8gs6dsl3g6yfg"))
         (patches (search-patches "dbxfs-remove-sentry-sdk.patch"))))
     (build-system python-build-system)
     (arguments