* [bug#46107] [PATCH 3/6] gnu: Add molequeue.
2021-01-25 21:22 ` [bug#46107] [PATCH 2/6] gnu: Add mmtf-cpp Kei Kebreau
@ 2021-01-25 21:22 ` Kei Kebreau
2021-01-25 22:18 ` Leo Famulari
2021-01-25 21:22 ` [bug#46107] [PATCH 4/6] gnu: Add libmsym Kei Kebreau
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Kei Kebreau @ 2021-01-25 21:22 UTC (permalink / raw)
To: 46107; +Cc: Kei Kebreau
* gnu/packages/chemistry.scm (molequeue): New variable.
---
gnu/packages/chemistry.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 4ac7a90c87..2b54df564e 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -267,6 +267,35 @@ analogy is that InChI is the bar-code for chemistry and chemical structures.")
biological structures.")
(license license:expat)))
+(define-public molequeue
+ (package
+ (name "molequeue")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/OpenChemistry/molequeue/"
+ "releases/download/" version "/molequeue-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "1w1fgxzqrb5yxvpmnc3c9ymnvixy0z1nfafkd9whg9zw8nbgl998"))))
+ (build-system cmake-build-system)
+ (inputs
+ `(("qtbase" ,qtbase)))
+ ;; TODO: Enable tests.
+ (arguments
+ '(#:tests? #f))
+ (home-page "https://www.openchemistry.org/projects/molequeue/")
+ (synopsis "Application for coordinating computational jobs")
+ (description "MoleQueue is a system-tray resident desktop application for
+abstracting, managing, and coordinating the execution of tasks both locally and
+ on remote computational resources. Users can set up local and remote queues
+that describe where the task will be executed. Each queue can have programs,
+with templates to facilitate the execution of the program. Input files can be
+staged, and output files collected using a standard interface.")
+ (license license:bsd-3)))
+
(define with-numpy-1.8
(package-input-rewriting `((,python2-numpy . ,python2-numpy-1.8))))
--
2.29.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 3/6] gnu: Add molequeue.
2021-01-25 21:22 ` [bug#46107] [PATCH 3/6] gnu: Add molequeue Kei Kebreau
@ 2021-01-25 22:18 ` Leo Famulari
2021-01-26 3:21 ` Kei
0 siblings, 1 reply; 15+ messages in thread
From: Leo Famulari @ 2021-01-25 22:18 UTC (permalink / raw)
To: Kei Kebreau; +Cc: 46107
On Mon, Jan 25, 2021 at 04:22:45PM -0500, Kei Kebreau wrote:
> * gnu/packages/chemistry.scm (molequeue): New variable.
> + ;; TODO: Enable tests.
> + (arguments
> + '(#:tests? #f))
Can you clarify the comment? Even "It's too much work" would be helpful
for future readers.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 3/6] gnu: Add molequeue.
2021-01-25 22:18 ` Leo Famulari
@ 2021-01-26 3:21 ` Kei
0 siblings, 0 replies; 15+ messages in thread
From: Kei @ 2021-01-26 3:21 UTC (permalink / raw)
To: Leo Famulari; +Cc: 46107
On Mon, 2021-01-25 at 17:18 -0500, Leo Famulari wrote:
> On Mon, Jan 25, 2021 at 04:22:45PM -0500, Kei Kebreau wrote:
> > * gnu/packages/chemistry.scm (molequeue): New variable.
> > + ;; TODO: Enable tests.
> > + (arguments
> > + '(#:tests? #f))
>
> Can you clarify the comment? Even "It's too much work" would be helpful
> for future readers.
While I was doing this, I went ahead and enabled all but the failing tests.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 4/6] gnu: Add libmsym.
2021-01-25 21:22 ` [bug#46107] [PATCH 2/6] gnu: Add mmtf-cpp Kei Kebreau
2021-01-25 21:22 ` [bug#46107] [PATCH 3/6] gnu: Add molequeue Kei Kebreau
@ 2021-01-25 21:22 ` Kei Kebreau
2021-01-25 21:22 ` [bug#46107] [PATCH 5/6] gnu: Add avogadrolibs Kei Kebreau
2021-01-25 21:22 ` [bug#46107] [PATCH 6/6] gnu: Add avogadro2 Kei Kebreau
3 siblings, 0 replies; 15+ messages in thread
From: Kei Kebreau @ 2021-01-25 21:22 UTC (permalink / raw)
To: 46107; +Cc: Kei Kebreau
* gnu/packages/chemistry.scm (libmsym): New variable.
---
gnu/packages/chemistry.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 2b54df564e..73aed08d43 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -242,6 +242,30 @@ analogy is that InChI is the bar-code for chemistry and chemical structures.")
"file://LICENCE"
"See LICENCE in the distribution."))))
+(define-public libmsym
+ (package
+ (name "libmsym")
+ (version "0.2.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mcodev31/libmsym")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "0a9j28irdsr461qpzlc9z1yjyb9kp64fh5zw7ylspc9zn3189qwk"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
+ #:tests? #f)) ; no check target
+ (home-page "https://github.com/mcodev31/libmsym")
+ (synopsis "C library dealing with point group symmetry in molecules")
+ (description "libmsym is a C library dealing with point group symmetry in
+molecules.")
+ (license license:expat)))
+
(define-public mmtf-cpp
(package
(name "mmtf-cpp")
--
2.29.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 5/6] gnu: Add avogadrolibs.
2021-01-25 21:22 ` [bug#46107] [PATCH 2/6] gnu: Add mmtf-cpp Kei Kebreau
2021-01-25 21:22 ` [bug#46107] [PATCH 3/6] gnu: Add molequeue Kei Kebreau
2021-01-25 21:22 ` [bug#46107] [PATCH 4/6] gnu: Add libmsym Kei Kebreau
@ 2021-01-25 21:22 ` Kei Kebreau
2021-01-25 21:22 ` [bug#46107] [PATCH 6/6] gnu: Add avogadro2 Kei Kebreau
3 siblings, 0 replies; 15+ messages in thread
From: Kei Kebreau @ 2021-01-25 21:22 UTC (permalink / raw)
To: 46107; +Cc: Kei Kebreau
* gnu/packages/chemistry.scm (avogadrolibs): New variable.
---
gnu/packages/chemistry.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 73aed08d43..9d4c6f07fa 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -30,6 +30,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages backup)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -44,6 +45,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages xml)
#:use-module (guix build-system cmake)
@@ -135,6 +137,48 @@ science, and related areas. It offers flexible high quality rendering and a
powerful plugin architecture.")
(license license:gpl2+)))
+(define-public avogadrolibs
+ (package
+ (name "avogadrolibs")
+ (version "1.93.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OpenChemistry/avogadrolibs")
+ (commit version)))
+ (sha256
+ (base32 "1xivga626n5acnmwmym8svl0pdri8hkp59czf04ri2zflnviyh39"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("eigen" ,eigen)
+ ("mmtf-cpp" ,mmtf-cpp)
+ ("msgpack" ,msgpack)
+ ("googletest" ,googletest)
+ ("pkg-config" ,pkg-config)
+ ("pybind11" ,pybind11)))
+ (inputs
+ `(("glew" ,glew)
+ ("libarchive" ,libarchive)
+ ("libmsym" ,libmsym)
+ ("molequeue" ,molequeue)
+ ("python" ,python)
+ ("spglib" ,spglib)
+ ("qtbase" ,qtbase)))
+ (arguments
+ '(#:configure-flags (list "-DENABLE_TESTING=ON"
+ (string-append "-DSPGLIB_INCLUDE_DIR="
+ (assoc-ref %build-inputs "spglib")
+ "/include"))))
+ (home-page "https://www.openchemistry.org/projects/avogadro2/")
+ (synopsis "Libraries for chemistry, bioinformatics, and related areas")
+ (description
+ "Avogadro libraries provide 3D rendering, visualization, analysis and data
+processing useful in computational chemistry, molecular modeling,
+bioinformatics, materials science, and related areas.")
+ (license license:bsd-3)))
+
(define-public domainfinder
(package
(name "domainfinder")
--
2.29.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 6/6] gnu: Add avogadro2.
2021-01-25 21:22 ` [bug#46107] [PATCH 2/6] gnu: Add mmtf-cpp Kei Kebreau
` (2 preceding siblings ...)
2021-01-25 21:22 ` [bug#46107] [PATCH 5/6] gnu: Add avogadrolibs Kei Kebreau
@ 2021-01-25 21:22 ` Kei Kebreau
2021-01-25 22:19 ` Leo Famulari
3 siblings, 1 reply; 15+ messages in thread
From: Kei Kebreau @ 2021-01-25 21:22 UTC (permalink / raw)
To: 46107; +Cc: Kei Kebreau
* gnu/packages/chemistry.scm (avogadro2): New variable.
---
gnu/packages/chemistry.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 9d4c6f07fa..8fe51d79ee 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -179,6 +179,41 @@ processing useful in computational chemistry, molecular modeling,
bioinformatics, materials science, and related areas.")
(license license:bsd-3)))
+(define-public avogadro2
+ (package
+ (name "avogadro2")
+ (version "1.93.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OpenChemistry/avogadroapp")
+ (commit version)))
+ (sha256
+ (base32
+ "1z3pjlwja778a1dmvx9aqz2hlw5q9g3kqxhm9slz08452600jsv7"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("eigen" ,eigen)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("avogadrolibs" ,avogadrolibs)
+ ("hdf5" ,hdf5)
+ ("molequeue" ,molequeue)
+ ("qtbase" ,qtbase)))
+ ;; TODO: Enable tests with "-DENABLE_TESTING" configure flag.
+ (arguments
+ '(#:tests? #f))
+ (home-page "https://www.openchemistry.org/projects/avogadro2/")
+ (synopsis "Advanced molecule editor")
+ (description
+ "Avogadro 2 is an advanced molecule editor and visualizer designed for use
+in computational chemistry, molecular modeling, bioinformatics, materials
+science, and related areas. It offers flexible high quality rendering and a
+powerful plugin architecture.")
+ (license license:bsd-3)))
+
(define-public domainfinder
(package
(name "domainfinder")
--
2.29.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 6/6] gnu: Add avogadro2.
2021-01-25 21:22 ` [bug#46107] [PATCH 6/6] gnu: Add avogadro2 Kei Kebreau
@ 2021-01-25 22:19 ` Leo Famulari
2021-01-26 3:24 ` bug#46107: " Kei
0 siblings, 1 reply; 15+ messages in thread
From: Leo Famulari @ 2021-01-25 22:19 UTC (permalink / raw)
To: Kei Kebreau; +Cc: 46107
[-- Attachment #1: Type: text/plain, Size: 232 bytes --]
On Mon, Jan 25, 2021 at 04:22:48PM -0500, Kei Kebreau wrote:
> * gnu/packages/chemistry.scm (avogadro2): New variable.
Thanks a lot for taking care of this! I sent some other comments, but
they shouldn't block these patches.
LGTM
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#46107: [PATCH 6/6] gnu: Add avogadro2.
2021-01-25 22:19 ` Leo Famulari
@ 2021-01-26 3:24 ` Kei
2021-01-29 1:05 ` [bug#46107] " Leo Famulari
0 siblings, 1 reply; 15+ messages in thread
From: Kei @ 2021-01-26 3:24 UTC (permalink / raw)
To: Leo Famulari; +Cc: 46107-done
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
On Mon, 2021-01-25 at 17:19 -0500, Leo Famulari wrote:
> On Mon, Jan 25, 2021 at 04:22:48PM -0500, Kei Kebreau wrote:
> > * gnu/packages/chemistry.scm (avogadro2): New variable.
>
> Thanks a lot for taking care of this! I sent some other comments, but
> they shouldn't block these patches.
>
> LGTM
Done and done! Thanks for reviewing and commenting. Avogadro is clear for
removal, especially since it doesn't seem to build anymore.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 862 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 6/6] gnu: Add avogadro2.
2021-01-26 3:24 ` bug#46107: " Kei
@ 2021-01-29 1:05 ` Leo Famulari
2021-01-29 16:28 ` kkebreau
0 siblings, 1 reply; 15+ messages in thread
From: Leo Famulari @ 2021-01-29 1:05 UTC (permalink / raw)
To: Kei; +Cc: 46107-done
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
On Mon, Jan 25, 2021 at 10:24:28PM -0500, Kei wrote:
> Done and done! Thanks for reviewing and commenting. Avogadro is clear for
> removal, especially since it doesn't seem to build anymore.
Do you know if avogradro2 is suitable as a "drop-in" replacement for
avogadro? If so, we could mark it as superseded by avogadro2, and then
it would be automatically updated in users' profiles when they do `guix
pull && guix upgrade`.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 6/6] gnu: Add avogadro2.
2021-01-29 1:05 ` [bug#46107] " Leo Famulari
@ 2021-01-29 16:28 ` kkebreau
2021-01-29 20:20 ` Leo Famulari
0 siblings, 1 reply; 15+ messages in thread
From: kkebreau @ 2021-01-29 16:28 UTC (permalink / raw)
To: Leo Famulari; +Cc: 46107-done
On 2021-01-28 20:05, Leo Famulari wrote:
> On Mon, Jan 25, 2021 at 10:24:28PM -0500, Kei wrote:
>> Done and done! Thanks for reviewing and commenting. Avogadro is
>> clear for
>> removal, especially since it doesn't seem to build anymore.
>
> Do you know if avogradro2 is suitable as a "drop-in" replacement for
> avogadro? If so, we could mark it as superseded by avogadro2, and then
> it would be automatically updated in users' profiles when they do `guix
> pull && guix upgrade`.
I think so. Development efforts seem to have been focused on Avogadro 2
for
several years now, with little or no maintenance of the original
Avogadro. This
2018 community survey [0] indicates the developers' full commitment to
Avogadro 2, so marking it as superseding avogadro is recommended.
[0]: https://avogadro.cc/news/community-survey-results/
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#46107] [PATCH 6/6] gnu: Add avogadro2.
2021-01-29 16:28 ` kkebreau
@ 2021-01-29 20:20 ` Leo Famulari
0 siblings, 0 replies; 15+ messages in thread
From: Leo Famulari @ 2021-01-29 20:20 UTC (permalink / raw)
To: kkebreau; +Cc: 46107-done
On Fri, Jan 29, 2021 at 11:28:08AM -0500, kkebreau@posteo.net wrote:
> I think so. Development efforts seem to have been focused on Avogadro 2 for
> several years now, with little or no maintenance of the original Avogadro.
> This
> 2018 community survey [0] indicates the developers' full commitment to
> Avogadro 2, so marking it as superseding avogadro is recommended.
Since avogadro doesn't build, I decided to remove it rather than mark it
as superseded.
Removed with commit 42008264d9fff544ee00c3c109093472b8a92bd2
^ permalink raw reply [flat|nested] 15+ messages in thread