3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/daphne/default.nix

23 lines
587 B
Nix
Raw Normal View History

2017-02-20 15:31:36 +00:00
{ stdenv, buildPythonPackage, fetchurl,
2017-04-26 14:07:22 +01:00
asgiref, autobahn, twisted, hypothesis
2017-02-20 15:31:36 +00:00
}:
buildPythonPackage rec {
pname = "daphne";
name = "${pname}-${version}";
2017-04-26 14:07:22 +01:00
version = "1.2.0";
2017-02-20 15:31:36 +00:00
src = fetchurl {
url = "mirror://pypi/d/daphne/${name}.tar.gz";
2017-04-26 14:07:22 +01:00
sha256 = "084216isw7rwy693i62rbd8kvpqx418jvf1q72cplv833wz3in7l";
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;
};
}