python3Packages.daphne: 2.2.5 -> 2.3.0
This commit is contained in:
parent
b589619eda
commit
fbdb9ce787
@ -1,10 +1,10 @@
|
|||||||
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
|
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch
|
||||||
, asgiref, autobahn, twisted, pytestrunner
|
, asgiref, autobahn, twisted, pytestrunner
|
||||||
, hypothesis, pytest, pytest-asyncio
|
, hypothesis, pytest, pytest-asyncio
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "daphne";
|
pname = "daphne";
|
||||||
version = "2.2.5";
|
version = "2.3.0";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
@ -12,9 +12,17 @@ buildPythonPackage rec {
|
|||||||
owner = "django";
|
owner = "django";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0ixgq1rr3s60bmrwx8qwvlvs3lag1c2nrmg4iy7wcmb8i1ddylqr";
|
sha256 = "020afrvbnid13gkgjpqznl025zpynisa96kybmf8q7m3wp1iq1nl";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix compatibility with Hypothesis 4. See: https://github.com/django/daphne/pull/261
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/django/daphne/commit/2df5096c5b63a791c209e12198ad89c998869efd.patch";
|
||||||
|
sha256 = "0046krzcn02mihqmsjd80kk5h5flv44nqxpapa17g6dvq3jnb97n";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pytestrunner ];
|
nativeBuildInputs = [ pytestrunner ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ asgiref autobahn twisted ];
|
propagatedBuildInputs = [ asgiref autobahn twisted ];
|
||||||
|
Loading…
Reference in New Issue
Block a user