summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorCarlos Morera de la Chica <carlos@codurance.com>2018-10-30 19:33:42 +0000
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-30 21:01:02 +0100
commitfe30cce533f38ff44af8f884a4594cc3155d96d4 (patch)
treef9f10c16546c9fffaaef2dd9bd65cf99131def02 /pkgs/development/python-modules
parent26fa9d2b5191d34fa8760b5efc8a3d25a2d34542 (diff)
downloadnixlib-fe30cce533f38ff44af8f884a4594cc3155d96d4.tar
nixlib-fe30cce533f38ff44af8f884a4594cc3155d96d4.tar.gz
nixlib-fe30cce533f38ff44af8f884a4594cc3155d96d4.tar.bz2
nixlib-fe30cce533f38ff44af8f884a4594cc3155d96d4.tar.lz
nixlib-fe30cce533f38ff44af8f884a4594cc3155d96d4.tar.xz
nixlib-fe30cce533f38ff44af8f884a4594cc3155d96d4.tar.zst
nixlib-fe30cce533f38ff44af8f884a4594cc3155d96d4.zip
beancount: fix build
pytest is now a runtime dependency
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/beancount/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/beancount/default.nix b/pkgs/development/python-modules/beancount/default.nix
index 1a005d9e42d7..e023c721b0e6 100644
--- a/pkgs/development/python-modules/beancount/default.nix
+++ b/pkgs/development/python-modules/beancount/default.nix
@@ -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 = {