2018-02-26 21:53:18 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
|
|
|
asgiref, autobahn, twisted, hypothesis
|
2017-02-20 15:31:36 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "daphne";
|
2018-02-26 21:53:18 +00:00
|
|
|
name = "${pname}-${version}";
|
2018-02-17 13:19:10 +00:00
|
|
|
version = "2.0.3";
|
2017-02-20 15:31:36 +00:00
|
|
|
|
2018-02-26 21:53:18 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "bb2075ce35ca00f2e5440cc034dfebd5c00d346de62ea45f099db089b868c31f";
|
2017-02-20 15:31:36 +00:00
|
|
|
};
|
|
|
|
|
2018-02-26 21:53:18 +00:00
|
|
|
buildInputs = [ hypothesis ];
|
2017-02-20 15:31:36 +00:00
|
|
|
propagatedBuildInputs = [ asgiref autobahn twisted ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Django ASGI (HTTP/WebSocket) server";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = https://github.com/django/daphne;
|
|
|
|
};
|
|
|
|
}
|