Revert "Merge staging at '8d490ca9934d0' into master"

This reverts commit fc23242220, reversing
changes made to 754816b84b.
We don't have many binaries yet.  Comment on the original merge commit.
This commit is contained in:
Vladimír Čunát
2018-02-26 22:53:18 +01:00
parent b8f4df9d9e
commit f5ce8f86df
33 changed files with 267 additions and 389 deletions

View File

@@ -1,23 +1,15 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
{ stdenv, buildPythonPackage, fetchurl, six }:
buildPythonPackage rec {
version = "2.1.6";
version = "2.1.5";
pname = "asgiref";
name = "${pname}-${version}";
# PyPI tarball doesn't include tests directory
src = fetchFromGitHub {
owner = "django";
repo = pname;
rev = version;
sha256 = "12p1i2ai03x2hx6b3i7xgicyfi2x11is6pkbdac4jpz7fmbz3zlh";
src = fetchurl {
url = "mirror://pypi/a/asgiref/${name}.tar.gz";
sha256 = "1a46196df28c67e046a54cc537ce5a8f6a59eb68649f54680d7e4fc3b113ab1b";
};
propagatedBuildInputs = [ async-timeout ];
checkInputs = [ pytest pytest-asyncio ];
checkPhase = ''
py.test
'';
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
description = "Reference ASGI adapters and channel layers";