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