guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] gnu: add python-django


From: Hartmut Goebel
Subject: [PATCH 1/2] gnu: add python-django
Date: Tue, 12 Apr 2016 22:32:29 +0200

* gnu/packages/django.scm: New file.
* gnu-system.am: Add it.
---
 gnu-system.am           |  1 +
 gnu/packages/django.scm | 60 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 gnu/packages/django.scm

diff --git a/gnu-system.am b/gnu-system.am
index 8822d0b..09acb64 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -90,6 +90,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..c22830e
--- /dev/null
+++ b/gnu/packages/django.scm
@@ -0,0 +1,60 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Hartmut Goebel <address@hidden>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(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.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]