guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: cmocka: New variable.


From: Efraim Flashner
Subject: 01/01: gnu: cmocka: New variable.
Date: Mon, 25 Jan 2016 09:40:54 +0000

efraim pushed a commit to branch master
in repository guix.

commit 2259442b15a61cef8d2bd64adb261bd27ec15d36
Author: Efraim Flashner <address@hidden>
Date:   Mon Dec 21 11:11:01 2015 +0200

    gnu: cmocka: New variable.
    
    * gnu/packages/check.scm (cmocka): New variable.
---
 gnu/packages/check.scm |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 3b7a243..21ecd84 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2015 Paul van der Walt <address@hidden>
 ;;; Copyright © 2015 Eric Bavier <address@hidden>
 ;;; Copyright © 2015 Andreas Enge <address@hidden>
+;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,6 +27,7 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial))
 
@@ -147,3 +149,26 @@ supervised tests.")
      "Catch stands for C++ Automated Test Cases in Headers and is a
 multi-paradigm automated test framework for C++ and Objective-C.")
     (license boost1.0)))
+
+(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 asl2.0)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]