aboutsummaryrefslogtreecommitdiffstats
path: root/mcgoron/guix/external-packages.scm
blob: 8cd1abbad003236e7f3a264375bb17b8aa85be42 (plain) (blame)
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 (mcgoron guix external-packages)
  #:use-module (rnrs base)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (gnu packages)
  #:use-module (guix build-system)
  #:use-module (guix gexp)
  #:use-module (guix build-system gnu)
  #:use-module (guix licenses)
  #:use-module (guix git-download)
  #:use-module (guix download))

(define-public libck
  (package
   (name "libck")
   (version "0.7.2")
   (synopsis "Modern concurrency primitives and building blocks for high performance applications.")
   (description "Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.")
   (home-page "https://github.com/concurrencykit/ck")
   (build-system gnu-build-system)
   (source
    (origin (method git-fetch)
            (uri (git-reference (url "https://github.com/concurrencykit/ck")
                                (commit version)))
            (sha256 (base32 "04m572h20ql8l8d4p9ka6rhc8zj7mngqyn61wagi393pqrd7q4lp"))))
   (license bsd-2)
   (arguments
    (list
     #:phases
     #~
     (modify-phases %standard-phases
       (replace 'configure
         (lambda* (#:key outputs #:allow-other-keys)
           (invoke "./configure"
                   (string-append "--prefix="
                                  (assoc-ref %outputs "out")))))
       (replace 'build
         (lambda _
           (invoke "make" "regressions")
           (invoke "make" "all")))
       (replace 'check
         (lambda _
           (invoke "make" "check"))))))))