3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #54838 from ck3d/buku41

buku: 3.8 -> 4.1
This commit is contained in:
Jörg Thalheim 2019-01-30 08:01:07 +00:00 committed by GitHub
commit 37a4dce982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 3 deletions

View file

@ -1,14 +1,14 @@
{ stdenv, python3, fetchFromGitHub, fetchpatch }:
with python3.pkgs; buildPythonApplication rec {
version = "3.8";
version = "4.1";
pname = "buku";
src = fetchFromGitHub {
owner = "jarun";
repo = "buku";
rev = "v${version}";
sha256 = "0gv26c4rr1akcaiff1nrwil03sv7d58mfxr86pgsw6nwld67ns0r";
sha256 = "166l1fmpqn4hys4l0ssc4yd590mmav1w62vm9l5ijhjhmlnrzfax";
};
checkInputs = [
@ -33,8 +33,17 @@ with python3.pkgs; buildPythonApplication rec {
arrow
werkzeug
click
html5lib
vcrpy
];
postPatch = ''
# Jailbreak problematic dependencies
sed -i \
-e "s,'PyYAML.*','PyYAML',g" \
setup.py
'';
preCheck = ''
# Fixes two tests for wrong encoding
export PYTHONIOENCODING=utf-8

View file

@ -1761,7 +1761,9 @@ in
burp = callPackage ../tools/backup/burp { };
buku = callPackage ../applications/misc/buku { };
buku = callPackage ../applications/misc/buku {
python3 = python36; # due to #52766
};
byzanz = callPackage ../applications/video/byzanz {};