From patchwork Sat Jan 26 00:28:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Lirzin X-Patchwork-Id: 826 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B08DB16A92; Sat, 26 Jan 2019 00:30:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4941716A8E for ; Sat, 26 Jan 2019 00:30:26 +0000 (GMT) Received: from localhost ([127.0.0.1]:53011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnBrd-0004Uk-Rq for patchwork@mira.cbaines.net; Fri, 25 Jan 2019 19:30:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnBrK-0004G1-3W for guix-patches@gnu.org; Fri, 25 Jan 2019 19:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnBrI-0005xS-22 for guix-patches@gnu.org; Fri, 25 Jan 2019 19:30:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46457) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnBrH-0005x3-Rv for guix-patches@gnu.org; Fri, 25 Jan 2019 19:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnBrH-0006yM-L0 for guix-patches@gnu.org; Fri, 25 Jan 2019 19:30:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34204] [PATCH 3/3] gnu: Add Mkdocs. Resent-From: Mathieu Lirzin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Jan 2019 00:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34204 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34204@debbugs.gnu.org Received: via spool by 34204-submit@debbugs.gnu.org id=B34204.154846255726696 (code B ref 34204); Sat, 26 Jan 2019 00:30:03 +0000 Received: (at 34204) by debbugs.gnu.org; 26 Jan 2019 00:29:17 +0000 Received: from localhost ([127.0.0.1]:45736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnBqR-0006wP-1G for submit@debbugs.gnu.org; Fri, 25 Jan 2019 19:29:17 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnBqM-0006vr-3j for 34204@debbugs.gnu.org; Fri, 25 Jan 2019 19:29:09 -0500 X-Originating-IP: 77.136.43.248 Received: from localhost.localdomain (248.43.136.77.rev.sfr.net [77.136.43.248]) (Authenticated sender: mthl@reuz.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 222A01C0005; Sat, 26 Jan 2019 00:29:04 +0000 (UTC) From: Mathieu Lirzin Date: Sat, 26 Jan 2019 01:28:49 +0100 Message-Id: <20190126002849.7707-3-mthl@gnu.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190126002849.7707-1-mthl@gnu.org> References: <20190126002849.7707-1-mthl@gnu.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Lirzin Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/documentation.scm (mkdocs): New variable. --- gnu/packages/documentation.scm | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm index 9425df707c..2eb1f29013 100644 --- a/gnu/packages/documentation.scm +++ b/gnu/packages/documentation.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2017 Kei Kebreau ;;; Copyright © 2017 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2019 Mathieu Lirzin ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,10 +30,13 @@ #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages bash) #:use-module (gnu packages python) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages bison) #:use-module (gnu packages docbook) #:use-module (gnu packages flex) @@ -219,3 +223,34 @@ sort, and search the document catalog. It will also be able to communicate with catalog servers on the Net to search for documents which are not on the local system.") (license lgpl2.1+))) + +(define-public mkdocs + (package + (name "mkdocs") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mkdocs" version)) + (sha256 + (base32 + "0fg9w6rdskwnn7knri7xzrd26k9svwqlxvdr0kk5spfpm8ll7lqp")))) + (build-system python-build-system) + (arguments + ;; XXX: Tests are failing. + ;; AttributeError: module 'mkdocs.plugins' has no attribute 'get_plugins' + '(#:tests? #f)) + (propagated-inputs + `(("python-click" ,python-click) + ("python-jinja2" ,python-jinja2) + ("python-livereload" ,python-livereload) + ("python-markdown" ,python-markdown) + ("python-pyyaml" ,python-pyyaml) + ("python-tornado" ,python-tornado))) + (home-page "https://www.mkdocs.org") + (synopsis "Project documentation with Markdown") + (description + "This is a fast and simple static site generator that's geared towards +building project documentation. Documentation source files are written in +Markdown, and configured with a single YAML configuration file.") + (license bsd-3)))