mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
buku: 3.7 -> 3.8
This commit is contained in:
parent
01bbc716e2
commit
dce1332c5a
@ -1,28 +1,23 @@
|
||||
{ stdenv, python3, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
with python3.pkgs; buildPythonApplication rec {
|
||||
version = "3.7";
|
||||
version = "3.8";
|
||||
pname = "buku";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jarun";
|
||||
repo = "buku";
|
||||
rev = "v${version}";
|
||||
sha256 = "0qc6xkrhf2phaj9fhym19blr4rr2vllvnyljjz909xr4vsynvb41";
|
||||
};
|
||||
|
||||
patches = fetchpatch {
|
||||
url = https://github.com/jarun/Buku/commit/495d6eac4d9371e8ce6d3f601e2bb9e5e74962b4.patch;
|
||||
sha256 = "0py4l5qcgdzqr0iqmcc8ddld1bspk8iwypz4dcr88y70j86588gk";
|
||||
sha256 = "0gv26c4rr1akcaiff1nrwil03sv7d58mfxr86pgsw6nwld67ns0r";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestcov
|
||||
pytest-catchlog
|
||||
hypothesis
|
||||
pytest
|
||||
pylint
|
||||
flake8
|
||||
pyyaml
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -30,6 +25,14 @@ with python3.pkgs; buildPythonApplication rec {
|
||||
beautifulsoup4
|
||||
requests
|
||||
urllib3
|
||||
flask
|
||||
flask-api
|
||||
flask-bootstrap
|
||||
flask-paginate
|
||||
flask_wtf
|
||||
arrow
|
||||
werkzeug
|
||||
click
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
@ -43,7 +46,7 @@ with python3.pkgs; buildPythonApplication rec {
|
||||
--replace "self.assertEqual(url, 'https://www.google.com')" ""
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
postInstall = ''
|
||||
make install PREFIX=$out
|
||||
|
||||
mkdir -p $out/share/zsh/site-functions $out/share/bash-completion/completions $out/share/fish/vendor_completions.d
|
||||
|
Loading…
Reference in New Issue
Block a user