From 1db7bfc722c0a486cc10cae7853a81484bfb41bc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Dec 2015 11:11:01 +0200 Subject: [PATCH 1/2] gnu: Add cmocka. * gnu/packages/video.scm (cmocka): New variable. --- gnu/packages/video.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index a319a2d..ee8b7a3 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -765,6 +765,29 @@ fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.") (license license:gpl2+))) +(define-public cmocka + (package + (name "cmocka") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (string-append "https://cmocka.org/files/1.0/cmocka-" + version ".tar.xz")) + (sha256 + (base32 + "0fvm6rdalqcxckbddch8ycdw6n2ckldblv117n09chi2l7bm0q5k")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; No test target + (home-page "https://cmocka.org/") + (synopsis "Unit testing framework for C") + (description "Cmocka is a unit testing framework for C with support for +mock objects. It only requires the standard C library, and works with +different compilers. Cmocka supports several different message output formats +like Test Anything Protocol, Subunit, xUnit XML or the original cmockery output +format.") + (license license:asl2.0))) + (define-public libvpx (package (name "libvpx") -- 2.7.0