mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: Move JSON-C to (gnu packages web).
* gnu/packages/pulseaudio.scm (json-c): Move to... * gnu/packages/web.scm (json-c): ... here. New variable.
This commit is contained in:
parent
9ab7415329
commit
f6ad09ae5a
2 changed files with 35 additions and 35 deletions
|
@ -32,13 +32,13 @@ (define-module (gnu packages pulseaudio)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages gtk)
|
#:use-module (gnu packages gtk)
|
||||||
#:use-module (gnu packages libcanberra)
|
#:use-module (gnu packages libcanberra)
|
||||||
|
#:use-module (gnu packages web)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages m4)
|
#:use-module (gnu packages m4)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
#:use-module (gnu packages xiph)
|
#:use-module (gnu packages xiph)
|
||||||
#:export (libsndfile
|
#:export (libsndfile
|
||||||
libsamplerate
|
libsamplerate
|
||||||
json-c
|
|
||||||
pulseaudio))
|
pulseaudio))
|
||||||
|
|
||||||
(define libsndfile
|
(define libsndfile
|
||||||
|
@ -110,40 +110,6 @@ (define libsamplerate
|
||||||
rates. ")
|
rates. ")
|
||||||
(license l:gpl2+)))
|
(license l:gpl2+)))
|
||||||
|
|
||||||
(define json-c
|
|
||||||
(package
|
|
||||||
(name "json-c")
|
|
||||||
(version "0.12")
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (string-append "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
|
|
||||||
version ".tar.gz"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0gwzic3ifg2d0w32ya3agpxh8i083cgvf7kmc51cnbgqnfr02300"))
|
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
'(begin
|
|
||||||
;; Somehow 'config.h.in' is older than
|
|
||||||
;; 'aclocal.m4', which would trigger a rule to
|
|
||||||
;; run 'autoheader'.
|
|
||||||
(set-file-time "config.h.in"
|
|
||||||
(stat "aclocal.m4"))
|
|
||||||
|
|
||||||
;; Don't try to build with -Werror.
|
|
||||||
(substitute* (find-files "." "Makefile\\.in")
|
|
||||||
(("-Werror") ""))))))
|
|
||||||
(build-system gnu-build-system)
|
|
||||||
(arguments '(#:parallel-build? #f
|
|
||||||
#:parallel-tests? #f))
|
|
||||||
(home-page "https://github.com/json-c/json-c/wiki")
|
|
||||||
(synopsis "JSON implementation in C")
|
|
||||||
(description
|
|
||||||
"JSON-C implements a reference counting object model that allows you to
|
|
||||||
easily construct JSON objects in C, output them as JSON formatted strings and
|
|
||||||
parse JSON formatted strings back into the C representation of JSON objects.")
|
|
||||||
(license l:x11)))
|
|
||||||
|
|
||||||
(define pulseaudio
|
(define pulseaudio
|
||||||
(package
|
(package
|
||||||
(name "pulseaudio")
|
(name "pulseaudio")
|
||||||
|
|
|
@ -73,6 +73,40 @@ (define-public httpd
|
||||||
(license l:asl2.0)
|
(license l:asl2.0)
|
||||||
(home-page "https://httpd.apache.org/")))
|
(home-page "https://httpd.apache.org/")))
|
||||||
|
|
||||||
|
(define-public json-c
|
||||||
|
(package
|
||||||
|
(name "json-c")
|
||||||
|
(version "0.12")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0gwzic3ifg2d0w32ya3agpxh8i083cgvf7kmc51cnbgqnfr02300"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
;; Somehow 'config.h.in' is older than
|
||||||
|
;; 'aclocal.m4', which would trigger a rule to
|
||||||
|
;; run 'autoheader'.
|
||||||
|
(set-file-time "config.h.in"
|
||||||
|
(stat "aclocal.m4"))
|
||||||
|
|
||||||
|
;; Don't try to build with -Werror.
|
||||||
|
(substitute* (find-files "." "Makefile\\.in")
|
||||||
|
(("-Werror") ""))))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments '(#:parallel-build? #f
|
||||||
|
#:parallel-tests? #f))
|
||||||
|
(home-page "https://github.com/json-c/json-c/wiki")
|
||||||
|
(synopsis "JSON implementation in C")
|
||||||
|
(description
|
||||||
|
"JSON-C implements a reference counting object model that allows you to
|
||||||
|
easily construct JSON objects in C, output them as JSON formatted strings and
|
||||||
|
parse JSON formatted strings back into the C representation of JSON objects.")
|
||||||
|
(license l:x11)))
|
||||||
|
|
||||||
(define-public libwebsockets
|
(define-public libwebsockets
|
||||||
(package
|
(package
|
||||||
(name "libwebsockets")
|
(name "libwebsockets")
|
||||||
|
|
Loading…
Reference in a new issue