mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
959842a9c7
so that we can use the update script.
25 lines
634 B
Nix
25 lines
634 B
Nix
{ stdenv, buildPythonPackage, fetchurl,
|
|
asgiref, django, daphne
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "channels";
|
|
name = "${pname}-${version}";
|
|
version = "1.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://pypi/c/channels/${name}.tar.gz";
|
|
sha256 = "182war437i6wsxwf2v4szn8ig0nkpinpn4n27fxhh5q8w832hj93";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|