mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
25 lines
622 B
Nix
25 lines
622 B
Nix
{ stdenv, buildPythonPackage, fetchPypi,
|
|
asgiref, django, daphne
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "channels";
|
|
name = "${pname}-${version}";
|
|
version = "2.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c365492b90bd936c763e06cd76bda96cd3e70e5a5d2a196c25754e0c1d8da85a";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|