Skip to content

Commit 13c492a

Browse files
lsixFRidh
authored andcommitted
python3Packages.daphne: 2.3.0 -> 2.5.0
1 parent bb2c199 commit 13c492a

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

pkgs/development/python-modules/daphne/default.nix

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,23 @@
1-
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch
1+
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
22
, asgiref, autobahn, twisted, pytestrunner
3-
, hypothesis, pytest, pytest-asyncio
3+
, hypothesis, pytest, pytest-asyncio, service-identity, pyopenssl
44
}:
55
buildPythonPackage rec {
66
pname = "daphne";
7-
version = "2.3.0";
7+
version = "2.5.0";
88

99
disabled = !isPy3k;
1010

1111
src = fetchFromGitHub {
1212
owner = "django";
1313
repo = pname;
1414
rev = version;
15-
sha256 = "020afrvbnid13gkgjpqznl025zpynisa96kybmf8q7m3wp1iq1nl";
15+
sha256 = "0qkhmblj3a5s3z65cgz46xsvq1b6x4m3kr6aljjnxnv7hcwib02n";
1616
};
1717

18-
patches = [
19-
# Fix compatibility with Hypothesis 4. See: https://github.com/django/daphne/pull/261
20-
(fetchpatch {
21-
url = "https://github.com/django/daphne/commit/2df5096c5b63a791c209e12198ad89c998869efd.patch";
22-
sha256 = "0046krzcn02mihqmsjd80kk5h5flv44nqxpapa17g6dvq3jnb97n";
23-
})
24-
];
25-
2618
nativeBuildInputs = [ pytestrunner ];
2719

28-
propagatedBuildInputs = [ asgiref autobahn twisted ];
20+
propagatedBuildInputs = [ asgiref autobahn twisted service-identity pyopenssl ];
2921

3022
checkInputs = [ hypothesis pytest pytest-asyncio ];
3123

0 commit comments

Comments
 (0)