summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Geffke <franz@pantherx.org>2024-03-30 16:15:36 +0000
committerFranz Geffke <franz@pantherx.org>2024-03-30 16:15:36 +0000
commit1fc4cab9b692b74913345d5caa91d873c2493bd1 (patch)
tree40b6dfebe6ac4a19dd9ab94ab3ab16891bbe97ef
parent80982c882f1a2cc3300a0333922ea3067b88047b (diff)
time-tracking: drop module
-rw-r--r--px/packages/time-tracking.scm104
1 files changed, 0 insertions, 104 deletions
diff --git a/px/packages/time-tracking.scm b/px/packages/time-tracking.scm
deleted file mode 100644
index 9d4c7f6..0000000
--- a/px/packages/time-tracking.scm
+++ /dev/null
@@ -1,104 +0,0 @@
-;;; Time Tracking Packages Module for PantherX
-;;; Fakhri Sajadi (f.sajadi@pantherx.org)
-;;;
-
-(define-module (px packages time-tracking)
- #:use-module ((guix licenses)
- #:prefix license:)
- #:use-module (guix download)
- #:use-module (guix packages)
- #:use-module (guix build-system cmake)
- #:use-module (guix build-system python)
- #:use-module (guix utils)
- #:use-module (gnu packages compression)
- #:use-module (gnu packages sqlite)
- #:use-module (gnu packages networking)
- #:use-module (gnu packages pkg-config)
- #:use-module (gnu packages python)
- #:use-module (gnu packages python-build)
- #:use-module (gnu packages python-xyz)
- #:use-module (gnu packages serialization)
- #:use-module (gnu packages qt)
- #:use-module (px packages common)
- #:use-module (px packages dav)
- #:use-module (px packages databases)
- #:use-module (px packages library)
- #:use-module (px packages python-xyz)
- #:use-module (px packages hub)
- #:use-module (guix gexp))
-
-(define-public px-time-tracking
- (package
- (name "px-time-tracking")
- (version "0.0.7")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://source.pantherx.org/px-time-tracking_"
- version ".tgz"))
- (sha256
- (base32 "0d34fp4vzxh191ilp19m4ms91zxr2pdsah0wcb98vsw8hi8wf71w"))))
- (build-system cmake-build-system)
- (arguments
- `(#:tests? #f))
- (inputs `(("sqlite" ,sqlite)
- ("sqlitecpp" ,sqlitecpp)
- ("zlib" ,zlib)
- ("yaml-cpp" ,yaml-cpp)
- ("capnproto" ,capnproto-0.9)
- ("qtcharts" ,qtcharts)
- ("qtbase" ,qtbase-5)))
- (native-inputs `(("pkg-config" ,pkg-config)
- ("python" ,python)
- ("px-gui-library" ,px-gui-library)
- ("pybind11" ,pybind11)))
- (home-page "https://www.pantherx.org/")
- (synopsis "PantherX Time Tracking Service")
- (description
- "This package provides background services to tracking time spend on issues in PantherX")
- (license license:expat)))
-
-(define-public px-time-tracking-plugin-gitlab
- (package
- (name "px-time-tracking-plugin-gitlab")
- (version "0.0.3")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://source.pantherx.org/" name "_" version
- ".tgz"))
- (sha256
- (base32 "1qq9pdmyj0ar6l8m49n7n3bmzjfbxim7h3wjvg9znizz6lm2hw98"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f
- #:phases (modify-phases %standard-phases
- (add-after 'install 'register-plugin
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (type "python")
- (regpath (string-append out
- "/etc/px/time-tracking/plugins"))
- (regdata (string-append "plugin:"
- "\n name: "
- ,name
- "\n version: "
- ,version
- "\n type: "
- type
- "\n path: "
- out
- "\n")))
- (display regdata)
- (mkdir-p regpath)
- (with-output-to-file (string-append regpath "/"
- ,name ".yaml")
- (lambda _
- (format #t regdata))))))
- (delete 'sanity-check))))
- (propagated-inputs `(("px-hub-service-plugin-common" ,px-hub-service-plugin-common)
- ("px-online-sources-library" ,px-online-sources-library)))
- (home-page "https://www.pantherx.org/")
- (synopsis "GitLab plugin for PantherX Time Tracking Service")
- (description "Adds support to retrieve data from GitLab API.")
- (license license:expat)))