buku: fix build

Loosen pytest version constraint by applying
495d6eac4d.
This commit is contained in:
Robert Schütz 2018-04-06 13:19:06 +02:00 committed by Frederik Rietdijk
parent 889cbd5c12
commit 6713108307

View file

@ -1,8 +1,8 @@
{ stdenv, python3, fetchFromGitHub }:
{ stdenv, python3, fetchFromGitHub, fetchpatch }:
with python3.pkgs; buildPythonApplication rec {
version = "3.7";
name = "buku-${version}";
pname = "buku";
src = fetchFromGitHub {
owner = "jarun";
@ -11,7 +11,12 @@ with python3.pkgs; buildPythonApplication rec {
sha256 = "0qc6xkrhf2phaj9fhym19blr4rr2vllvnyljjz909xr4vsynvb41";
};
nativeBuildInputs = [
patches = fetchpatch {
url = https://github.com/jarun/Buku/commit/495d6eac4d9371e8ce6d3f601e2bb9e5e74962b4.patch;
sha256 = "0py4l5qcgdzqr0iqmcc8ddld1bspk8iwypz4dcr88y70j86588gk";
};
checkInputs = [
pytestcov
pytest-catchlog
hypothesis