1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/daphne/default.nix

23 lines
577 B
Nix
Raw Normal View History

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 {
pname = "daphne";
name = "${pname}-${version}";
2018-02-17 13:19:10 +00:00
version = "2.0.3";
2017-02-20 15:31:36 +00:00
2017-07-31 16:55:03 +01:00
src = fetchPypi {
inherit pname version;
2018-02-17 13:19:10 +00:00
sha256 = "bb2075ce35ca00f2e5440cc034dfebd5c00d346de62ea45f099db089b868c31f";
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;
};
}