about summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-cache-url
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-25 15:21:21 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-26 16:37:52 +0200
commitf575ae13fa069dea8c2258e8bc5976c06fdd881e (patch)
tree47424538217d5b2497d84ce80b557d2404ee9176 /pkgs/development/python-modules/django-cache-url
parent36eee63f36d187e4cb706161b5312cbbc472f4b2 (diff)
pythonPackages.django-cache-url: init at 3.0.0
Diffstat (limited to 'pkgs/development/python-modules/django-cache-url')
-rw-r--r--pkgs/development/python-modules/django-cache-url/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/django-cache-url/default.nix b/pkgs/development/python-modules/django-cache-url/default.nix
new file mode 100644
index 0000000000000..4cff6f2a69b0b
--- /dev/null
+++ b/pkgs/development/python-modules/django-cache-url/default.nix
@@ -0,0 +1,31 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, pytest
+}:
+
+buildPythonPackage rec {
+  version = "3.0.0";
+  pname = "django-cache-url";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "235950e2d7cb16164082167c2974301e2f0fb2313d40bfacc9d24f5b09c3514b";
+  };
+
+  checkInputs = [ pytest ];
+
+  checkPhase = ''
+    pytest tests
+  '';
+
+  # tests not included with pypi release
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = http://github.com/ghickman/django-cache-url;
+    description = "Use Cache URLs in your Django application";
+    license = licenses.mit;
+    maintainers = [ maintainers.costrouc ];
+  };
+}