* gnu/packages/ntp.scm: New file.
* gnu-system.am (gnu/packages/ntp.scm): Add it.
---
gnu-system.am|1 +
gnu/packages/ntp.scm | 47 +++
2 files changed, 48 insertions(+)
create mode 100644 gnu/packages/ntp.scm
diff --git a/gnu-system.am b
John Darrington writes:
> +(define-public ntp
> + (package
> + (name "ntp")
> + (version "4.2.6p5")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-";
> +(string-take ve
Quoting Mark H Weaver (2014-10-18 12:24:56)
> (string-join (take (string-split version #\.) 2)
>".")
> I suppose we should add a procedure specifically for this, but
> it can wait, and it should be in a separate commit anyway.
I'm going to grab this and try to have a patch sub
Ian Denhardt writes:
> Quoting Mark H Weaver (2014-10-18 12:24:56)
>> (string-join (take (string-split version #\.) 2)
>>".")
>
>
>
>> I suppose we should add a procedure specifically for this, but
>> it can wait, and it should be in a separate commit anyway.
>
> I'm going to g
Prompted by Mark Weaver's feedback on the ntp package patch earlier today, I
refactored the pattern:
(string-join (take (string-split version #\.) 2)
".")
Into a common procedure:
(version-take-api version)
..and modified the existing package recepies accordingly.
Ian
The procedure version-take-api extracts the "major.minor" part of
version strings; previously this was handled by an expression common to
several packages.
* guix/utils.scm (version-take-api): New procedure
* gnu/packages/backup.scm (duplicity): Use version-take-api.
* gnu/packages/cmake.scm (cmak
Quoting Ian Denhardt (2014-10-18 22:18:00)
> ...
Ack, sorry for the goof on the subject.
signature.asc
Description: signature