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