(define-module (gnu packages medical)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (gnu packages qt))
(define-public openmolar-1
(package
(name "openmolar")
(version "1.0.15-gd81f9e5")
(source (origin
(method url-fetch)
(uri (string-append
"https://static.openmolar.com/om1/releases/openmolar-"
version ".tar.gz"))
(sha256
(base32
"1cfdzfbi6wslw7k0dc6ad6xrgs75iwsl91cg73w4myswaqqkfk3z"))))
(build-system python-build-system)
(arguments
`(#:use-setuptools? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-/usr
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "setup.py"
(("/usr") (assoc-ref outputs "out")))
#t)))))
(inputs
`(("python-pyqt" ,python-pyqt)))
(synopsis "Dental practice management software")
(description "Openmolar1 is a dental practice management suite. Its functionality include appointments, patient records, treatment planning, billing etc. It is a full featured, reliable and thoroughly tested application which is still undergoing development regularly. It has been translated into many languages. I hope you try it out! The application is released under a free-software license - GPLv3. Those with programming talent are invited to contribute.")
(home-page "https://openmolar.com/om1/")
(license gpl3)))
(define-module (gnu packages medical)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (gnu packages python)
#:use-module (gnu packages qt))
(define-public openmolar-1
(package
(name "openmolar")
(version "1.0.15-gd81f9e5")
(source (origin
(method url-fetch)
(uri (string-append
"https://static.openmolar.com/om1/releases/openmolar-"
version ".tar.gz"))
(sha256
(base32
"1cfdzfbi6wslw7k0dc6ad6xrgs75iwsl91cg73w4myswaqqkfk3z"))))
(build-system python-build-system)
(arguments
`(#:use-setuptools? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-/usr
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "setup.py"
(("/usr") (assoc-ref outputs "out")))
#t)))))
(inputs
`(("python-pyqt" ,python-pyqt)
("python-mysqlclient" ,python-mysqlclient))
)
(propagated-inputs `(("qscintilla" ,qscintilla))) ...)
(synopsis "Dental practice management software")
(description "Openmolar1 is a dental practice management suite. Its functionality include appointments, patient records, treatment planning, billing etc. It is a full featured, reliable and thoroughly tested application which is still undergoing development regularly. It has been translated into many languages. I hope you try it out! The application is released under a free-software license - GPLv3. Those with programming talent are invited to contribute.")
(home-page "https://openmolar.com/om1")
(license gpl3)))