summary refs log tree commit diff
path: root/pkgs/development/python-modules/channels
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-02-20 16:31:01 +0100
committerLancelot SIX <lsix@lancelotsix.com>2017-02-23 11:00:07 +0100
commit8103499e9d3444de8ebc9d9e0974cfc8b6344fce (patch)
tree359af0c21ff0aaf5fec52701035cbddbce96c5ca /pkgs/development/python-modules/channels
parentfee43308ed139191238c23655d7784c531eab709 (diff)
downloadnixpkgs-8103499e9d3444de8ebc9d9e0974cfc8b6344fce.tar
nixpkgs-8103499e9d3444de8ebc9d9e0974cfc8b6344fce.tar.gz
nixpkgs-8103499e9d3444de8ebc9d9e0974cfc8b6344fce.tar.bz2
nixpkgs-8103499e9d3444de8ebc9d9e0974cfc8b6344fce.tar.lz
nixpkgs-8103499e9d3444de8ebc9d9e0974cfc8b6344fce.tar.xz
nixpkgs-8103499e9d3444de8ebc9d9e0974cfc8b6344fce.tar.zst
nixpkgs-8103499e9d3444de8ebc9d9e0974cfc8b6344fce.zip
pythonPackages.channels: 1.0.2 -> 1.0.3
Diffstat (limited to 'pkgs/development/python-modules/channels')
-rw-r--r--pkgs/development/python-modules/channels/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/channels/default.nix b/pkgs/development/python-modules/channels/default.nix
new file mode 100644
index 00000000000..c7466d242c7
--- /dev/null
+++ b/pkgs/development/python-modules/channels/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, buildPythonPackage, fetchurl,
+  asgiref, django, daphne
+}:
+buildPythonPackage rec {
+  name = "channels-${version}";
+  version = "1.0.3";
+
+  src = fetchurl {
+    url = "mirror://pypi/c/channels/${name}.tar.gz";
+    sha256 = "1bwlqnfc27p1qnjmdl8jnr941gpl8ggnxxfy8anh9qgmg20q9pfd";
+  };
+
+  # Files are missing in the distribution
+  doCheck = false;
+
+  propagatedBuildInputs = [ asgiref django daphne ];
+
+  meta = with stdenv.lib; {
+    description = "Brings event-driven capabilities to Django with a channel system";
+    license = licenses.bsd3;
+    homepage = https://github.com/django/channels;
+  };
+}