about summary refs log tree commit diff
path: root/guix.scm
blob: c9225ecf37a8c29436ddfd53d0f890cbc2953062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
(use-modules ((gnu packages python-web) #:select (python-globus-sdk
                                                  python-requests))
             (guix build-system python)
             (guix gexp)
             (guix git-download)
             ((guix licenses) #:prefix license:)
             (guix packages))

(define-public globus-weblinks
  (let ((commit "7a0017b796ab1f691823576a35db543215f07792")
        (revision "1"))
    (package
      (name "globus-weblinks")
      (version (git-version "0.1.0" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                       (url "https://github.com/arunisaac/globus-weblinks")
                       (commit commit)))
                (file-name (git-file-name name version))
                (sha256
                 (base32
                  "0inc0mdh7a31060n01pg1ymr4sw7pjj4vz2cdagvc2pkv26b30f2"))))
      (build-system python-build-system)
      (arguments
       (list #:tests? #f ;; no tests
             #:phases
             #~(modify-phases %standard-phases
                 (delete 'build)
                 (replace 'install
                   (lambda _
                     (install-file "globus-weblinks"
                                   (string-append #$output "/bin")))))))
      (inputs
       (list python-globus-sdk
             python-requests))
      (home-page "https://github.com/arunisaac/globus-weblinks")
      (synopsis "Download data from Globus via HTTPS")
      (description "@code{globus-weblinks} is a quick hack to download
data from Globus via HTTPS and without having to set up any
Globus-specific tools.  This is convenient if you simply want to
download data from a Globus collection, and don't wish to set up their
complex proprietary tooling.")
      (license license:unlicense))))

globus-weblinks