mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
buku: 3.8 -> 4.1
This commit is contained in:
parent
bc41317e24
commit
ad7591c3ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user