summaryrefslogtreecommitdiff
path: root/scholarref.scm
diff options
context:
space:
mode:
Diffstat (limited to 'scholarref.scm')
-rw-r--r--scholarref.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/scholarref.scm b/scholarref.scm
new file mode 100644
index 0000000..a97a5ac
--- /dev/null
+++ b/scholarref.scm
@@ -0,0 +1,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))))