summary refs log tree commit diff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-26 20:25:10 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-26 20:25:10 +0200
commit854d4d40fd9bbc41c23bee11f3f25aff95ea863f (patch)
tree969bc8a08dd60d6aac60c5528f96bfbe4d7a5a01 /gnu/packages/django.scm
parent60ba9d8c2c95fa2cc1096ddb718eba88df689123 (diff)
downloadguix-854d4d40fd9bbc41c23bee11f3f25aff95ea863f.tar.gz
gnu: python-django-debug-toolbar: Don't use unstable tarball.
* gnu/packages/django.scm (python-django-debug-toolbar)[source]:
Download using git-fetch.
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 7cd4c3f784..c47ea44fd4 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
-;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017 ng0 <ng0@n0.is>
 ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
@@ -348,14 +348,14 @@ account authentication.")
     (version "1.10.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/jazzband/django-debug-toolbar/archive/"
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jazzband/django-debug-toolbar.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1rww056hyzks8spbgf4h7kf6ybxlc5p08a2b6gn1nqrrzs4yx9sy"))))
+         "0zr6yjsms97wlvvd17rdbrx01irkg887dn9x70c1hzfjmfvp9afk"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-sqlparse" ,python-sqlparse)