~ruther/guix-local

bd73cbc6c32bd5f559f11678e6eb4d658bdb642c — Andreas Enge 7 months ago e49d0da
gnu: Remove graphite-web.

* gnu/packages/monitoring.scm (graphite-web): Delete variable.

Change-Id: I0e7b8506d8690c8efc083f82373b221729b23e96
1 files changed, 0 insertions(+), 65 deletions(-)

M gnu/packages/monitoring.scm
M gnu/packages/monitoring.scm => gnu/packages/monitoring.scm +0 -65
@@ 467,71 467,6 @@ caching them in memory for \"hot queries\" from the Graphite-Web application,
and persisting them to disk using the Whisper time-series library.")
    (license license:asl2.0)))

(define-public graphite-web
  (let ((commit "49c28e2015d605ad9ec93524f7076dd924a4731a")
        (revision "2"))
    (package
      (name "graphite-web")
      (version (git-version "1.1.10" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/graphite-project/graphite-web")
               (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "0bcc6jh7gyp8f54dzy4zza1z46gk3530r952pi86irf834z106sg"))))
      (build-system pyproject-build-system)
      (arguments
       `(#:tests? #f               ;XXX: Requires database, unable to run now
         #:phases
         (modify-phases %standard-phases
           (add-after 'unpack 'relax-requirements
             (lambda _
               (substitute* "setup.py"
                 ;; Allow newer versions of django-tagging.
                 (("django-tagging==") "django-tagging>=")
                 ;; And Django.
                 (("Django>=3\\.2,<4") "Django>=4,<5"))))
           ;; Don't install to /opt
           (add-after 'unpack 'do-not-install-to-/opt
             (lambda _ (setenv "GRAPHITE_NO_PREFIX" "1")))
           (replace 'check
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
                 (mkdir-p "storage/log/webapp")
                 (with-directory-excursion "webapp"
                   (invoke "./manage.py" "test" "--pythonpath=." "tests"
                           "-k" (string-join
                                 (list
                                  "not test_dashboard_save_temporary_xss_key"
                                  "test_dashboard_save_temporary_xss_name")
                                 " and not ")))))))))
      (native-inputs
       (list python-carbon
             python-mock
             python-pytest
             python-rrdtool
             python-setuptools
             python-tzdata
             python-wheel
             python-whisper))
      (propagated-inputs
       (list python-cairocffi
             python-django
             python-django-tagging
             python-pyparsing
             python-pytz
             python-six
             python-urllib3))
      (home-page "https://graphiteapp.org/")
      (synopsis "Scalable realtime graphing system")
      (description "Graphite is a scalable real-time graphing system that does
two things: store numeric time-series data, and render graphs of this data on
demand.")
      (license license:asl2.0))))

(define-public python-prometheus-client
  (package
    (name "python-prometheus-client")