python3Packages.priority: fix build (#57807)

This commit is contained in:
Alyssa Ross
2019-03-19 21:28:54 +00:00
committed by Robert Schütz
parent c357b53763
commit bc3e7f875e
2 changed files with 45 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pytest, hypothesis }:
{ lib, buildPythonPackage, fetchPypi, fetchpatch, pytest, hypothesis }:
buildPythonPackage rec {
pname = "priority";
@@ -9,6 +9,11 @@ buildPythonPackage rec {
sha256 = "1gpzn9k9zgks0iw5wdmad9b4dry8haiz2sbp6gycpjkzdld9dhbb";
};
patches = [
# https://github.com/python-hyper/priority/pull/135
./deadline.patch
];
checkInputs = [ pytest hypothesis ];
checkPhase = ''
PYTHONPATH="src:$PYTHONPATH" pytest