From a1cd0fe58340cced63a13d04119221811ee23a0b Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 23 Sep 2016 19:41:31 +0000 Subject: [PATCH 18/18] gnu: Add kallithea. * gnu/packages/version-control.scm (kallithea): New variable. --- gnu/packages/version-control.scm | 47 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 14b4dab..5e0f45e 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2015 Kyle Meyer ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2016 Leo Famulari -;;; Copyright © 2016 ng0 +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -1261,3 +1261,48 @@ a built-in wiki, built-in file browsing, built-in tickets system, etc.") (description "Stagit creates static pages for git repositories, the results can be served with a HTTP file server of your choice.") (license license:expat))) + +(define-public kallithea + (package + (name "kallithea") + (version "0.3.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "Kallithea" version)) + (sha256 + (base32 + "1czhdvxcffr957y4h1qy0nlm7w3rzxbgw6vixg48ga02ry47y6l9")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))) + (inputs + `(("python2-sphinx" ,python2-sphinx) + ("python2-psycopg2" ,python2-psycopg2) + ("python2-pastescript" ,python2-pastescript) + ("python2-py-bcrypt" ,python2-py-bcrypt) + ("mercurial-3.7.3" ,mercurial@3.7.3) ; mercurial < 3.8 + ("python2-dulwich-0.9.9" ,python2-dulwich-0.9.9) + ("python2-mysql-python" ,python2-mysql-python))) + (native-inputs + `(("python2-routes-1.13" ,python2-routes-1.13) + ("python2-urlobject-2.3.4" ,python2-urlobject-2.3.4) + ("python2-mock" ,python2-mock) + ("python2-docutils-0.11" ,python2-docutils-0.11) + ("python2-markdown-2.2.1" ,python2-markdown-2.2.1) + ("python2-dateutil" ,python2-dateutil) + ("python2-babel-1.3" ,python2-babel-1.3) + ("python2-pytz" ,python2-pytz) + ("python2-celery" ,python2-celery))) + (home-page "https://kallithea-scm.org/") + (synopsis + "Fast and powerful management tool for Mercurial and Git with a built-in push/pull +server, full text search and code-review.") + (description + "Kallithea, a member project of Software Freedom Conservancy, is a GPLv3'd, +Free Software source code management system that supports two leading version +control systems, Mercurial and Git, and has a web interface that is easy to use +for users and admins. You can install Kallithea on your own server and host +repositories for the version control system of your choice.") + (license license:gpl3))) -- 2.10.0