nixpkgs/pkgs/development/python-modules/daphne/default.nix

23 lines
565 B
Nix
Raw Normal View History

2017-07-31 15:55:03 +00:00
{ stdenv, buildPythonPackage, fetchPypi,
2017-04-26 13:07:22 +00:00
asgiref, autobahn, twisted, hypothesis
2017-02-20 15:31:36 +00:00
}:
buildPythonPackage rec {
pname = "daphne";
name = "${pname}-${version}";
2017-07-31 15:55:03 +00:00
version = "1.3.0";
2017-02-20 15:31:36 +00:00
2017-07-31 15:55:03 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1xmmjp21m1w88ljsgnkf6cbzw5nxamh9cfmfgzxffpn4cdmvn96i";
2017-02-20 15:31:36 +00:00
};
2017-04-26 13:07:22 +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;
};
}