python-dogpile-cache: fix darwin build and add missing test dependencies

This commit is contained in:
Daiderd Jordan
2017-05-01 23:39:29 +02:00
parent bf64f96e7f
commit 74686d6c8c
2 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi,
dogpile_core, pytest
}:
{ stdenv, buildPythonPackage, fetchPypi
, dogpile_core, pytest, pytestcov, mock, Mako
}:
buildPythonPackage rec {
pname = "dogpile.cache";
@@ -13,12 +13,12 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ dogpile_core ];
buildInputs = [ pytest ];
buildInputs = [ pytest pytestcov mock Mako ];
meta = with stdenv.lib; {
description = "A caching front-end based on the Dogpile lock";
homepage = http://bitbucket.org/zzzeek/dogpile.cache;
platforms = platforms.linux; # Can only test linux
platforms = platforms.unix;
license = licenses.bsd3;
};
}