Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 23 lines 582 B view raw
1{ lib, buildPythonPackage, fetchPypi, 2 asgiref, django, daphne 3}: 4buildPythonPackage rec { 5 pname = "channels"; 6 version = "3.0.3"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "056b72e51080a517a0f33a0a30003e03833b551d75394d6636c885d4edb8188f"; 11 }; 12 13 # Files are missing in the distribution 14 doCheck = false; 15 16 propagatedBuildInputs = [ asgiref django daphne ]; 17 18 meta = with lib; { 19 description = "Brings event-driven capabilities to Django with a channel system"; 20 license = licenses.bsd3; 21 homepage = "https://github.com/django/channels"; 22 }; 23}