diff options
author | Ahmad Draidi <a.r.draidi@redscript.org> | 2025-05-10 12:20:23 +0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-05-12 10:40:02 +0200 |
commit | 4d5e16ee292a52c9325e8095764f0b64ee332c83 (patch) | |
tree | 272b1a84002f3fae1286ac382d5ff50b710af4f2 | |
parent | 5f3518ca83ad22cd77f24a05110c52907a46565d (diff) | |
download | guix-4d5e16ee292a52c9325e8095764f0b64ee332c83.tar.gz guix-4d5e16ee292a52c9325e8095764f0b64ee332c83.zip |
gnu: Add pps-tools.
* gnu/packages/time.scm (pps-tools): New variable.
Change-Id: I06a10988acbf4dcd684721e1bee6a2d0c6f2dac6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/time.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 56053da501..2a09efb1fc 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -118,6 +118,46 @@ program uses. The display output of the program can be customized or saved to a file.") (license gpl3+))) +(define-public pps-tools + ;; Last tagged release was in 2021 + (let ((commit "e5083fe1481a34373dee2acfabb63001ee9c40e0") + (revision "1")) + (package + (name "pps-tools") + (version (git-version "1.0.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/redlab-i/pps-tools") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1q3yvkwgqzafpx940cgqjn0harziv9gix1k3r3ymidmip0i5z1cp")))) + (arguments + (list + #:tests? #f ;There is no test suite. + #:make-flags + #~(list "CC=gcc" + (string-append "DESTDIR=" %output)) + #:phases + #~(modify-phases %standard-phases + ;; No configure script + (delete 'configure) + (add-after 'unpack 'patch-makefile + (lambda _ + (substitute* "Makefile" + (("/usr/") + "/"))))))) + (build-system gnu-build-system) + (home-page "https://github.com/redlab-i/pps-tools") + (synopsis "User-space tools and headers for LinuxPPS") + (description + "This package includes the necessary headers for using +@url{http://linuxpps.org/, LinuxPPS} PPSAPI kernel interface in user-space +applications, and several support tools.") + (license gpl2+)))) + (define-public python-pytimeparse (package (name "python-pytimeparse") |