Skip to content

Commit

Permalink
papis: 0.5.2 -> 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nico202 committed Feb 20, 2018
1 parent 7c14e8b commit 43860cc
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pkgs/tools/misc/papis/default.nix
@@ -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";
Expand Down

0 comments on commit 43860cc

Please sign in to comment.