2017-07-31 16:55:03 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-04-26 14:07:22 +01:00
|
|
|
asgiref, autobahn, twisted, hypothesis
|
2017-02-20 15:31:36 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "daphne";
|
|
|
|
name = "${pname}-${version}";
|
2018-02-03 09:51:57 +00:00
|
|
|
version = "2.0.0";
|
2017-02-20 15:31:36 +00:00
|
|
|
|
2017-07-31 16:55:03 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-03 09:51:57 +00:00
|
|
|
sha256 = "ecd43a2dd889fb74e16bf8b7f67c076c4ec1b36229ce782272e46c50d56174dd";
|
2017-02-20 15:31:36 +00:00
|
|
|
};
|
|
|
|
|
2017-04-26 14:07:22 +01: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;
|
|
|
|
};
|
|
|
|
}
|