diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-03-26 13:03:44 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-03-26 13:18:44 +0100 |
commit | 956e8d3c36eb67a2b9fe1bd21802751f2e420750 (patch) | |
tree | 811781bb492719d8ffdd2cd255003ba82b500dab | |
parent | 228e85fc043aa127ab0820109068def10db5861b (diff) |
scholarref: Add package
-rw-r--r-- | scholarref.scm | 38 |
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)))) |