papis: 0.5.2 -> 0.5.3
This commit is contained in:
parent
7c14e8ba04
commit
43860cc514
@ -1,39 +1,43 @@
|
||||
{ buildPythonApplication, lib, fetchFromGitHub
|
||||
, argcomplete, arxiv2bib, beautifulsoup4, bibtexparser
|
||||
, configparser, habanero, papis-python-rofi, pylibgen
|
||||
, prompt_toolkit, pyparser, python_magic, pyyaml
|
||||
, requests, unidecode, urwid, vobject, tkinter
|
||||
, configparser, dmenu-python, habanero, papis-python-rofi
|
||||
, pylibgen, prompt_toolkit, pyparser, pytest, python_magic
|
||||
, pyyaml, requests, unidecode, urwid, vobject, tkinter
|
||||
, vim
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "papis";
|
||||
version = "0.5.2";
|
||||
version = "0.5.3";
|
||||
|
||||
# Missing tests on Pypi
|
||||
src = fetchFromGitHub {
|
||||
owner = "alejandrogallo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0cw6ajdaknijka3j2bkkkn0bcxqifk825kq0a0rdbbmc6661pgxb";
|
||||
sha256 = "1yc4ilb7bw099pi2vwawyf8mi0n1kp87wgwgwcwc841ibq62q8ic";
|
||||
};
|
||||
|
||||
postPatch = "sed -i 's/configparser>=3.0.0/# configparser>=3.0.0/' setup.py";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
argcomplete arxiv2bib beautifulsoup4 bibtexparser
|
||||
configparser habanero papis-python-rofi pylibgen
|
||||
prompt_toolkit pyparser python_magic pyyaml
|
||||
configparser dmenu-python habanero papis-python-rofi
|
||||
pylibgen prompt_toolkit pyparser python_magic pyyaml
|
||||
requests unidecode urwid vobject tkinter
|
||||
vim
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# Papis tries to create the config folder under $HOME during the tests
|
||||
preCheck = ''
|
||||
checkPhase = ''
|
||||
mkdir -p check-phase
|
||||
export HOME=$(pwd)/check-phase
|
||||
'';
|
||||
|
||||
make test
|
||||
make test-non-pythonic
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Powerful command-line document and bibliography manager";
|
||||
|
Loading…
x
Reference in New Issue
Block a user