From 0d4ad143f542ffa125923edfcddfff2ca120c7aa Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Tue, 12 Apr 2016 22:32:29 +0200 Subject: [PATCH] gnu: Add python-django. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/django.scm: New file. * gnu-system.am: Add it. Signed-off-by: Ludovic Courtès --- gnu-system.am | 1 + gnu/packages/django.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 gnu/packages/django.scm diff --git a/gnu-system.am b/gnu-system.am index 0165519..be07a9f 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -91,6 +91,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/dico.scm \ gnu/packages/dictionaries.scm \ gnu/packages/disk.scm \ + gnu/packages/django.scm \ gnu/packages/djvu.scm \ gnu/packages/dns.scm \ gnu/packages/docbook.scm \ diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm new file mode 100644 index 0000000..890ae37 --- /dev/null +++ b/gnu/packages/django.scm @@ -0,0 +1,54 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Hartmut Goebel +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages django) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (gnu packages python)) + +(define-public python-django + (package + (name "python-django") + (version "1.9.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "Django" version)) + (sha256 + (base32 + "19kaw9flk9jjz1n7q378waybxnkrrhkq240lby4zaaas62nnfip5")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://www.djangoproject.com/") + (synopsis "High-level Python Web framework") + (description + "Django is a high-level Python Web framework that encourages rapid +development and clean, pragmatic design. + +Developed and used over the past two years by a fast-moving online-news +operation, Django was designed from scratch to handle two challenges: the +intensive deadlines of a newsroom and the stringent requirements of +experienced Web developers. It has convenient niceties for developing +content-management systems, but it's an excellent tool for building any Web +site. + +Django focuses on automating as much as possible and adhering to the +DRY principle.") + (license license:bsd-3))) -- 2.7.3