From fe30cce533f38ff44af8f884a4594cc3155d96d4 Mon Sep 17 00:00:00 2001 From: Carlos Morera de la Chica Date: Tue, 30 Oct 2018 19:33:42 +0000 Subject: [PATCH] beancount: fix build pytest is now a runtime dependency --- .../development/python-modules/beancount/default.nix | 12 +++++------- 1 file 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 = {