aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/binderlite.scm
blob: 857dbd40681a00aff3be1c36780dcd3de5340a3b (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
(define-module (gn packages binderlite)
  #:use-module (gnu packages)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages python-web)
  #:use-module (gnu packages python-xyz)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module (guix build-system asdf)
  #:use-module (guix build-system python))

(define-public python-jgart-giturlparse
  ;; https://github.com/nephila/giturlparse/pull/41
  (let ((commit "719f4c8e642718121f5a7b91ae8160b0041d31f9")
        (revision "0"))
    (package
      (inherit python-giturlparse)
      (name "python-jgart-giturlparse")
      (version (git-version "20211107" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://git.genenetwork.org/jgart/giturlparse")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32
           "1nyp0gw48cmnkcccgvq14adsykf9sk0z34x3j2myfm9g9cg9d669"))))
          (arguments (list #:tests? #f))
          (description
"Provides an updated clean_data function for the github platform.  See
@url{https://github.com/nephila/giturlparse/pull/41}.  @code{binderlite}
will be rewritten in Common Lisp.  If we stay with Python I recommend
switching this library out for @code{python-furl} or similar."))))

(define-public nb-upload
  (let ((commit "3e8fe6091ca63551901962ee0eed9c224a2f319d")
        (revision "1"))
    (package
      (name "nb-upload")
      (version (git-version "20220407" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://git.genenetwork.org/jgart/nb-upload")
                (commit commit)))
         (file-name (git-file-name name commit))
         (sha256
           (base32
            "0qsrg3w3kbmj5nv21dsqb05m0q2dphzfwxr0km4rn3764d83gqik"))))
         (build-system python-build-system)
         (arguments
           (list #:tests? #f)) ; There are no tests.
         (inputs (list python-requests))
         (synopsis "Upload notebooks via CLI")
         (description
"@code{nb-upload} allows a user to upload notebooks to a @code{nb}
instance.")
         (home-page "https://git.genenetwork.org/jgart/nb-upload/")
         (license license:unlicense))))