From 5650d41f044b0261fc7b8e1e359fcb2100d79738 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 21 Sep 2016 11:42:20 +0000 Subject: [PATCH] gnu: Add tinycm. * gnu/packages/web.scm (tinycm): New variable. --- gnu/packages/web.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 342262b..b91244f 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -13,7 +13,7 @@ ;;; Copyright © 2016 Rene Saavedra ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Clément Lassieur -;;; Copyright © 2016 ng0 +;;; Copyright © 2016 ng0 ;;; Copyright © 2016 Arun Isaac ;;; ;;; This file is part of GNU Guix. @@ -45,6 +45,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system r) #:use-module (guix build-system trivial) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages apr) #:use-module (gnu packages documentation) @@ -3287,6 +3288,41 @@ where data can be processed either in memory, on disk, or streaming via the callback or connection interfaces.") (license l:expat))) +(define-public tinycm + (package + (name "tinycm") + (version "0.1.29") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tinycm" version)) + (sha256 + (base32 + "0d8fsmhdv410bvz1plk32whdad5qq1ixi9a2wnnqx3dpv6cixi0y")))) + (build-system python-build-system) + (inputs + `(("python-boolexp" ,python-boolexp) + ("python-colorama" ,python-colorama) + ("python-colorlog" ,python-colorlog) + ("python-distro" ,python-distro) + ("python-networkx" ,python-networkx) + ("python-pyparsing" ,python-pyparsing) + ("python-requests" ,python-requests) + ("python-ruamel.yaml" ,python-ruamel.yaml) + ("python-tabulate" ,python-tabulate) + ("python-typing" ,python-typing))) + (home-page "https://github.com/MartijnBraam/TinyCM") + (synopsis "Tiny Configuration Management tool") + (description + "The Tiny Configuration Manager. This is a very small +configuration management tool for when you need Puppet but for a way +smaller deployment. This tool doesn't use a special DSL for defining +your configuration, just plain YAML. Configuration manifests are saved +as a somename.cm.yml file and importable modules are somemodule.mod.yml. +The configuration files cannot contain any executable code but mode +complicated definitions can be created as python modules.") + (license l:expat))) + (define-public gumbo-parser (package (name "gumbo-parser") -- 2.10.0