1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/python-modules/daphne/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

23 lines
587 B
Nix

{ stdenv, buildPythonPackage, fetchurl,
asgiref, autobahn, twisted, hypothesis
}:
buildPythonPackage rec {
pname = "daphne";
name = "${pname}-${version}";
version = "1.2.0";
src = fetchurl {
url = "mirror://pypi/d/daphne/${name}.tar.gz";
sha256 = "084216isw7rwy693i62rbd8kvpqx418jvf1q72cplv833wz3in7l";
};
buildInputs = [ hypothesis ];
propagatedBuildInputs = [ asgiref autobahn twisted ];
meta = with stdenv.lib; {
description = "Django ASGI (HTTP/WebSocket) server";
license = licenses.bsd3;
homepage = https://github.com/django/daphne;
};
}