beancount: fix build
pytest is now a runtime dependency
This commit is contained in:
parent
26fa9d2b51
commit
fe30cce533
@ -1,7 +1,7 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, beautifulsoup4, bottle, chardet, dateutil
|
||||
, google_api_python_client, lxml, ply, python_magic
|
||||
, nose, requests }:
|
||||
, pytest, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.1.3";
|
||||
@ -14,13 +14,8 @@ buildPythonPackage rec {
|
||||
sha256 = "4b7b0d3633c82ca88d3cb3d31ad2fd2e45a42401cfa94eaa1cb938ffece34f22";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
# Automatic tests cannot be run because it needs to import some local modules for tests.
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
@ -32,6 +27,9 @@ buildPythonPackage rec {
|
||||
ply
|
||||
python_magic
|
||||
requests
|
||||
# pytest really is a runtime dependency
|
||||
# https://bitbucket.org/blais/beancount/commits/554e13057551951e113835196770847c788dd592
|
||||
pytest
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user