2017-04-26 13:33:05 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl, six }:
|
|
|
|
buildPythonPackage rec {
|
2018-01-20 10:57:15 +00:00
|
|
|
version = "2.1.0";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "asgiref";
|
|
|
|
name = "${pname}-${version}";
|
2017-04-26 13:33:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/a/asgiref/${name}.tar.gz";
|
2018-01-20 10:57:15 +00:00
|
|
|
sha256 = "2bfd70fcc51df4036768b91d7b13524090dc8f366d79fa44ba2b0aeb47306344";
|
2017-04-26 13:33:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Reference ASGI adapters and channel layers";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = https://github.com/django/asgiref;
|
|
|
|
};
|
|
|
|
}
|