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