@@ -2,22 +2,23 @@
22, requests, filetype, pyparsing, configparser, arxiv2bib
33, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
44, pylibgen, click, python-slugify, habanero, isbnlib
5−, prompt_toolkit, pygments
5+, prompt_toolkit, pygments, stevedore, tqdm, lxml
6+, python-doi, isPy3k
67#, optional, dependencies
7−, jinja2, whoosh, pytest
8+, whoosh, pytest
89, stdenv
910}:
1011
1112buildPythonPackage rec {
1213 pname = "papis";
13− version = "0.8.2";
14+ version = "0.9";
1415
1516 # Missing tests on Pypi
1617 src = fetchFromGitHub {
1718 owner = "papis";
1819 repo = pname;
1920 rev = "v${version}";
20− sha256 = "0sa4hpgjvqkjcmp9bjr27b5m5jg4pfspdc8nf1ny80sr0kzn72hb";
21+ sha256 = "kzA8nlglbjHDPEB7HRAY2dza1Umn/OYUu+ydbA1OJ5Y=";
2122 };
2223
2324 propagatedBuildInputs = [
@@ -25,10 +26,14 @@ buildPythonPackage rec {
2526 pyyaml chardet beautifulsoup4 colorama bibtexparser
2627 pylibgen click python-slugify habanero isbnlib
2728 prompt_toolkit pygments
29+ stevedore tqdm lxml
30+ python-doi
2831 # optional dependencies
29− jinja2 whoosh
32+ whoosh
3033 ];
3134
35+ disabled = !isPy3k;
36+
3237 doCheck = !stdenv.isDarwin;
3338
3439 checkInputs = ([
@@ -42,7 +47,8 @@ buildPythonPackage rec {
4247 # fail with 5.x
4348 checkPhase = ''
4449 HOME=$(mktemp -d) pytest papis tests --ignore tests/downloaders \
45− -k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url and not test_export_yaml and not test_citations"
50+ -k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url \
51+ and not test_validate_arxivid and not test_downloader_getter"
4652 '';
4753
4854 meta = {