nixpkgs/pkgs/development/python-modules/asgiref/default.nix
2018-03-10 14:55:00 +01:00

20 lines
536 B
Nix

{ stdenv, buildPythonPackage, fetchurl, six, async-timeout }:
buildPythonPackage rec {
version = "2.2.0";
pname = "asgiref";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/a/asgiref/${name}.tar.gz";
sha256 = "1fmrd749hqxwicnivvgrcw812gbj2zm49zcnkghh9yxbkjfcvxcv";
};
propagatedBuildInputs = [ six async-timeout ];
meta = with stdenv.lib; {
description = "Reference ASGI adapters and channel layers";
license = licenses.bsd3;
homepage = https://github.com/django/asgiref;
};
}