summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc/buku
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-04-06 13:19:06 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-04-08 11:36:05 +0200
commit67131083075df9a2907cb921ae981a2c84099bb7 (patch)
treeb42b617cb4f9475b5733d62e226fc3c0e47dd8d7 /pkgs/applications/misc/buku
parent889cbd5c12158f4b200ae11051c42673bd6b0a39 (diff)
buku: fix build
Loosen pytest version constraint by applying https://github.com/jarun/Buku/commit/495d6eac4d9371e8ce6d3f601e2bb9e5e74962b4.
Diffstat (limited to 'pkgs/applications/misc/buku')
-rw-r--r--pkgs/applications/misc/buku/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/applications/misc/buku/default.nix b/pkgs/applications/misc/buku/default.nix
index fb1f6403ce44..83ba02933fd5 100644
--- a/pkgs/applications/misc/buku/default.nix
+++ b/pkgs/applications/misc/buku/default.nix
@@ -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