mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
pythonPackages.datadog: fix tests
This commit is contained in:
parent
62c81282c4
commit
421ec19144
@ -1,8 +1,6 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, decorator, requests, simplejson
|
||||
, nose, mock
|
||||
, pillow
|
||||
}:
|
||||
, decorator, requests, simplejson, pillow
|
||||
, nose, mock, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datadog";
|
||||
@ -17,9 +15,12 @@ buildPythonPackage rec {
|
||||
find . -name '*.pyc' -exec rm {} \;
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ decorator requests simplejson ];
|
||||
propagatedBuildInputs = [ decorator requests simplejson pillow ];
|
||||
|
||||
checkInputs = [ nose mock pillow ];
|
||||
checkInputs = [ nose mock pytest ];
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Datadog Python library";
|
||||
|
Loading…
Reference in New Issue
Block a user