summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2016-03-10 11:37:18 +0000
committerRobert Scott <code@humanleg.org.uk>2016-03-13 01:38:48 +0000
commit0899727f6947da43e937f40f95d0a301ce137fd7 (patch)
tree040bbdfa8b4d3cf1f22dbcf432dc175e075c3cd3 /pkgs
parentfb26e993c5cdccad58945f8613512dd8346cf182 (diff)
downloadnixlib-0899727f6947da43e937f40f95d0a301ce137fd7.tar
nixlib-0899727f6947da43e937f40f95d0a301ce137fd7.tar.gz
nixlib-0899727f6947da43e937f40f95d0a301ce137fd7.tar.bz2
nixlib-0899727f6947da43e937f40f95d0a301ce137fd7.tar.lz
nixlib-0899727f6947da43e937f40f95d0a301ce137fd7.tar.xz
nixlib-0899727f6947da43e937f40f95d0a301ce137fd7.tar.zst
nixlib-0899727f6947da43e937f40f95d0a301ce137fd7.zip
django_hijack: init at 2.0.7
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index ef27d4544027..4c5609e87000 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -8084,6 +8084,24 @@ in modules // {
     };
   };
 
+  django_hijack = buildPythonPackage rec {
+    name = "django-hijack-${version}";
+    version = "2.0.7";
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/d/django-hijack/${name}.tar.gz";
+      sha256 = "0rpi1bkfx74xfbb2nk874kfdra1jcqp2vzky1r3z7zidlc9kah04";
+    };
+
+    propagatedBuildInputs = with self; [ django django_compat ];
+
+    meta = {
+      description = "Allows superusers to hijack (=login as) and work on behalf of another user";
+      homepage = https://github.com/arteria/django-hijack;
+      license = licenses.mit;
+    };
+  };
+
   django_nose = buildPythonPackage rec {
     name = "django-nose-${version}";
     version = "1.4.3";