From 580567dd81fcaa109791c06d202866c6ca713b6d Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 11 Sep 2016 09:40:32 +0000 Subject: [PATCH 1/3] gnu: Add chck. * gnu/packages/wm.scm (chck): New variable. --- gnu/packages/wm.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index cd53091ce..7d0b29aea 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -40,6 +40,7 @@ #:use-module (guix build-system haskell) #:use-module (guix build-system perl) #:use-module (guix build-system python) + #:use-module (gnu packages compression) #:use-module (gnu packages haskell) #:use-module (gnu packages base) #:use-module (gnu packages pkg-config) @@ -58,6 +59,7 @@ #:use-module (gnu packages libevent) #:use-module (gnu packages fribidi) #:use-module (gnu packages maths) + #:use-module (gnu packages valgrind) #:use-module (gnu packages web) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -752,3 +754,34 @@ It is inspired by Xmonad and dwm. Its major features include: @end itemize\n") (home-page "https://github.com/conformal/spectrwm") (license license:isc))) + +(define-public chck + (let* ((commit "0400fb5e9cf8fd84f7ad5f59822fa2c9d48e1267") + (revision "1")) + (package + (name "chck") + (version (string-append "0.0." revision "." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Cloudef/chck") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1lqy7djj28hhn4x656lglx4whndl8q4m85k8lzs36v95msmm2am6")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags (list + "-DCMAKE_BUILD_TYPE=Upstream"))) + (inputs + `(("doxygen" ,doxygen) + ("zlib" ,zlib) + ("valgrind" ,valgrind))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/Cloudef/chck") + (synopsis "Collection of C utilities") + (description + "Collection of C utilities") + (license license:zlib)))) -- 2.13.0