summaryrefslogtreecommitdiff
path: root/px/packages/activity.scm
blob: 432a52096754a91789ea86b68c02c2fe6d8de25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
(define-module (px packages activity)
  #:use-module ((guix licenses)
                #:prefix license:)
  #:use-module (guix download)
  #:use-module (guix packages)
  #:use-module (guix build-system cmake)
  #:use-module (guix utils)
  #:use-module (guix git-download)
  #:use-module (guix build utils)
  #:use-module (guix git-download)
  #:use-module (px packages common)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages certs)
  #:use-module (gnu packages python)
  #:use-module (gnu packages curl)
  #:use-module (gnu packages web)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages serialization))

(define-public px-org-remote-user-activity-service
  (package
    (name "px-org-remote-user-activity-service")
    (version "0.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://source.pantherx.org/" name "_v" version
                           ".tgz"))
       (sha256
        (base32 "0zjry2gflrk9vpwhlyy4ik8c4gnh8sz4lay3dfrm789ym0yv5lxd"))))
    (build-system cmake-build-system)
    (arguments
     `(#:configure-flags '("../")
       #:tests? #f))
    (inputs `(("yaml-cpp" ,yaml-cpp)
              ("rapidjson" ,rapidjson)
              ("nss-certs" ,nss-certs)
              ("openssl" ,openssl)
              ("curl" ,curl)))
    (home-page "https://www.pantherx.org/")
    (synopsis "PantherX PXCENTRAL Activity Service")
    (description "Report Activity Watch events to Central Management")
    (license license:expat)))