2017-07-31 17:55:03 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-04-26 15:07:22 +02:00
|
|
|
asgiref, autobahn, twisted, hypothesis
|
2017-02-20 16:31:36 +01:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "daphne";
|
|
|
|
name = "${pname}-${version}";
|
2018-01-07 09:00:24 +01:00
|
|
|
version = "1.4.2";
|
2017-02-20 16:31:36 +01:00
|
|
|
|
2017-07-31 17:55:03 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-07 09:00:24 +01:00
|
|
|
sha256 = "302725f223853b05688f28c361e050f8db9568b1ce27340c76272c26b49e6d72";
|
2017-02-20 16:31:36 +01:00
|
|
|
};
|
|
|
|
|
2017-04-26 15:07:22 +02:00
|
|
|
buildInputs = [ hypothesis ];
|
2017-02-20 16:31:36 +01:00
|
|
|
propagatedBuildInputs = [ asgiref autobahn twisted ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Django ASGI (HTTP/WebSocket) server";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = https://github.com/django/daphne;
|
|
|
|
};
|
|
|
|
}
|