summaryrefslogtreecommitdiff
path: root/scholarref.scm
blob: a97a5ac82903309429c2f703a1e50c485fe8ab19 (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
(define-module (scholarref)
               #:use-module (guix packages)
               #:use-module (guix git-download)
               #:use-module (guix build-system gnu)
               #:use-module (guix licenses)
               #:use-module (gnu packages)
               #:use-module (gnu packages curl)
               #:use-module (gnu packages freedesktop)
               #:use-module (gnu packages pdf)
               #:use-module (gnu packages xdisorg))

(define-public scholarref
  (let ((revision "1")
        (commit "837cbf4b25333714a49d659ac7941f7041360f59"))
    (package
      (name "scholarref")
      (version (git-version "0.0.1" revision commit ))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                       (url "git://src.adamsgaard.dk/scholarref")
                       (commit version)))
                (sha256
                  (base32 "0dhx4ncjvklwc2a67f8wc8az5n3qv7nnkmknbqffaivl7fkz58bi"))))
      (propagated-inputs (list poppler xclip xdg-utils curl))
      (build-system gnu-build-system)
      (arguments
        `(#:tests? #f
          #:phases (modify-phases %standard-phases
                     (delete 'configure)
                     (delete 'build)
                     (add-before 'install 'prefix-set
                       (lambda* (#:key outputs #:allow-other-keys)
                         (setenv "PREFIX" (assoc-ref outputs "out")))))))
      (synopsis "Never deal with journal webpages again")
      (description "Tools for scientific journal manipulation from command line.")
      (home-page "https://adamsgaard.dk/scholarref.html")
      (license isc))))